classafJson::JsonConverterCtx

sys::Obj
  afJson::JsonConverterCtx

@Js

Passed to JsonConverters to give context on what they're converting.

converters

Source

JsonConverters converters { private set }

field

Source

const Field? field

fromJsonVal

Source

Obj? fromJsonVal()

Uses this context to convert this.obj.

isField

Source

const Bool isField

isList

Source

const Bool isList

isMap

Source

const Bool isMap

isTopLevel

Source

Bool isTopLevel()

jsonProperty

Source

const JsonProperty? jsonProperty

list

Source

List? list { private set }

listIdx

Source

const Int? listIdx

makeField

Source

This makeField(Type type, Field field, JsonProperty? jsonProperty, Obj? obj)

makeList

Source

This makeList(Type type, List list, Int idx, Obj? obj)

makeMap

Source

This makeMap(Type type, Map map, Obj key, Obj? obj)

map

Source

Map? map { private set }

mapKey

Source

const Obj? mapKey

obj

Source

Obj? obj { private set }

options

Source

Str:Obj? options

parent

Source

JsonConverterCtx? parent { private set }

replaceType

Source

Void replaceType(Type newType)

Replace type with a more specific subclass type.

toJsonVal

Source

Obj? toJsonVal()

Uses this context to convert this.obj.

type

Source

Type type { private set }