internal.extract

extract!T converts a JSONValue to an instance of T

Members

Functions

extract
T extract(JSONValue json)

extract a boolean from a json value

extract
T extract(JSONValue json)

extract a string type from a json value

extract
T extract(JSONValue json)

extract a numeric type from a json value

extract
T extract(JSONValue json)

extract an enumerated type from a json value

extract
T extract(JSONValue json)

extract an array from a JSONValue

extract
T extract(JSONValue json)

extract an associative array from a JSONValue

extract
T extract(JSONValue json, string key)

extract a value from a json object by its key

extract
T extract(JSONValue json, string key, T defaultVal)

extract a value from a json object by its key, return defaultVal if key not found

extract
T extract(JSONValue json)

extract a user-defined class or struct from a JSONValue

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

Manifest constants

jsonizeClassKeyword
enum jsonizeClassKeyword;

json member used to map a json object to a D type

Meta