jsonizer.fromjson

Contains functions for deserializing JSON data.

Members

Functions

_fromJSON
T _fromJSON(JSONValue json, JsonizeOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
extract
deprecated T extract(JSONValue json)
fromJSON
T fromJSON(JSONValue json, JsonizeOptions options)

Deserialize json into a value of type T.

fromJSON
T fromJSON(JSONValue json, string key, JsonizeOptions options)

Extract a value from a json object by its key.

fromJSON
T fromJSON(JSONValue json, string key, T defaultVal, JsonizeOptions options)

Extract a value from a json object by its key.

fromJSONString
T fromJSONString(string json, JsonizeOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
readJSON
T readJSON(string path, JsonizeOptions options)

Read a json-constructable object from a file.

readJSON
auto readJSON(string path)

Read the contents of a json file directly into a JSONValue.

Meta

Date

Date: 3/23/15