painlessjson.painlessjson

Undocumented in source.

Members

Functions

constructorOverloadScore
ulong constructorOverloadScore(JSONValue json)

Undocumented in source. Be warned that the author may not have intended to support it.

defaultFromJSON
T defaultFromJSON(JSONValue json)

Convert to given type from JSON.<br /> Can be overridden by &#95;fromJSON.

defaultToJSON
JSONValue defaultToJSON(T t)

Convert any type to JSON<br /> Can be overridden by &#95;toJSON

fromJSON
T fromJSON(JSONValue json)

Convert from JSONValue to any other type

getInstanceFromCustomConstructor
T getInstanceFromCustomConstructor(JSONValue json)

Undocumented in source. Be warned that the author may not have intended to support it.

getIntstanceFromDefaultConstructor
T getIntstanceFromDefaultConstructor()

Undocumented in source. Be warned that the author may not have intended to support it.

jsonValueHasAllFieldsNeeded
bool jsonValueHasAllFieldsNeeded(JSONValue json)

Undocumented in source. Be warned that the author may not have intended to support it.

toJSON
JSONValue toJSON(T t)

Template function that converts any object to JSON

Manifest constants

JSONType_int
enum JSONType_int;

Undocumented in source.

JSONType_int
enum JSONType_int;

Undocumented in source.

JSONType_null
enum JSONType_null;

Undocumented in source.

JSONType_null
enum JSONType_null;

Undocumented in source.

JSONType_true
enum JSONType_true;

Undocumented in source.

JSONType_true
enum JSONType_true;

Undocumented in source.

defaultSerializatonOptions
enum defaultSerializatonOptions;

Undocumented in source.

Structs

SerializationOptions
struct SerializationOptions

Undocumented in source.

Templates

hasAccessibleConstructor
template hasAccessibleConstructor(T)

Undocumented in source.

hasAccessibleDefaultsConstructor
template hasAccessibleDefaultsConstructor(T)

Undocumented in source.

Meta