NullField

viz.macros.NullField
class NullField(path: List[String])

Accessor for null-valued fields in a Vega/Vega-Lite spec.

Provides modification of fields that are initially null in the spec.

Value parameters

path

The JSON path to this field as a list of field names

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def +=(j: Json): SpecMod

Deep merge JSON into this field

Deep merge JSON into this field

Attributes

def +=(obj: JsonObject): SpecMod

Deep merge a JSON object into this field

Deep merge a JSON object into this field

Attributes

def :=(j: Json): SpecMod

Replace the null value with arbitrary JSON

Replace the null value with arbitrary JSON

Attributes

def apply(j: Json): SpecMod