Decoder

Decoder provides the method for deserializing JSON into a D object.

Constructors

this
this(ref Option opt)

Constructs an Decoder object with opt.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

decode
bool decode(in const(char)[] json)

Try to decode the json. The decoded result is retrieved from decodedValue.

Properties

decodedValue
inout(T) decodedValue [@property getter]

Returns the decoded object.

decodedValue
inout(T) decodedValue [@property getter]

Returns the decoded object.

Structs

Option
struct Option

See: http://lloyd.github.io/yajl/yajl-2.1.0/yajl__parse_8h.html#a5434a7c3b3165d782ea42c17d6ba9ac3

Meta