json.types

Undocumented in source.

Members

Aliases

ArrayForeach
alias ArrayForeach = void delegate(json.array.Array array, uint index, json.node.Node elementNode)

The function to be passed to json.array.Array.foreachElement.

BoxedDeserializeFunc
alias BoxedDeserializeFunc = void* delegate(json.node.Node node)

Deserializes the contents of the passed json.node.Node into a GBoxed, for instance:

BoxedSerializeFunc
alias BoxedSerializeFunc = json.node.Node delegate(const(void)* boxed)

Serializes the passed GBoxed and stores it inside a json.node.Node, for instance:

NodeType
alias NodeType = JsonNodeType
ObjectForeach
alias ObjectForeach = void delegate(json.object.ObjectJson object, string memberName, json.node.Node memberNode)

The function to be passed to json.object.ObjectJson.foreachMember.

ParserError
alias ParserError = JsonParserError
PathError
alias PathError = JsonPathError
ReaderError
alias ReaderError = JsonReaderError

Manifest constants

MAJOR_VERSION
enum MAJOR_VERSION;

Json major version component (e.g. 1 if JSON_VERSION is "1.2.3")

MICRO_VERSION
enum MICRO_VERSION;

Json micro version component (e.g. 3 if JSON_VERSION is "1.2.3")

MINOR_VERSION
enum MINOR_VERSION;

Json minor version component (e.g. 2 if JSON_VERSION is "1.2.3")

VERSION_S
enum VERSION_S;

The version of JSON-GLib, encoded as a string, useful for printing and concatenation.