JsonizeTypeException

Thrown when fromJSON cannot convert a JSONValue into the requested type.

Constructors

this
this(TypeInfo targetType, JSONValue json, JSONType[] expected)
Undocumented in source.

Members

Variables

expected
JSONType[] expected;

The JSON_TYPEs that would have been acceptable

json
JSONValue json;

The json value that was being deserialized

targetType
TypeInfo targetType;

Type jsonizer was attempting to deserialize to.

Meta