const mixinafJson::JsonTypeInspectors

afJson::JsonTypeInspectors

@Js

(Service) - Holds a list of JsonTypeInspector instances and the cached JsonTypeMeta objects.

defaultInspectors

Source

const static JsonTypeInspector[] defaultInspectors()

The default list of inspectors.

getOrInspect

Source

@Operator
abstract JsonTypeMeta getOrInspect(Type type)

Returns and caches JsonTypeMeta associated with the given type.

make

Source

static new make(JsonTypeInspector[] inspectors := JsonTypeInspectors.defaultInspectors())

Creates an instance of JsonTypeInspectors with the given inspectors.

set

Source

@Operator
abstract Void set(Type type, JsonTypeMeta meta)

Sets JsonTypeMeta to be associated with the given type.