JsonHelper

Undocumented in source.

Members

Static functions

getAs
T getAs(const(JSONValue) json, T defaultValue)

Converts a JSONValue to an object of type T by filling its fields with the JSON's fields.

getAs
T getAs(const(JSONValue) json, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getAs
T getAs(const(JSONValue) json)
Undocumented in source. Be warned that the author may not have intended to support it.
getAs
T getAs(const(JSONValue) json, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getAs
T getAs(const(JSONValue) json)
Undocumented in source. Be warned that the author may not have intended to support it.
getAs
T getAs(const(JSONValue) json, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getAs
T getAs(const(JSONValue) json, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getAs
T getAs(const(JSONValue) json, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getItemAs
T getItemAs(const(JSONValue) json, string name, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
handleException
T handleException(const(JSONValue) json, string message, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
JSONValue toJson(T value, uint level, bool ignore)

toJson

toJson
JSONValue toJson(T value, bool asInteger)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
JSONValue toJson(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
JSONValue toJson(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
JSONValue toJson(T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta