JsonSerializer

JSON serialization back-end

Constructors

this
this(Dg sink)

Members

Aliases

arrayBegin
deprecated alias arrayBegin = listBegin
Undocumented in source.
arrayEnd
deprecated alias arrayEnd = listEnd
Undocumented in source.
objectBegin
deprecated alias objectBegin = structBegin
Undocumented in source.
objectEnd
deprecated alias objectEnd = structEnd
Undocumented in source.

Functions

elemBegin
void elemBegin()
flush
void flush()
listBegin
uint listBegin(size_t length)
listEnd
void listEnd(uint state)
putEscapedKey
void putEscapedKey(char[] key)
putKey
void putKey(char[] key)
putNumberValue
void putNumberValue(Num num, FormatSpec!char fmt)
putValue
void putValue(typeof(null) )

Serialization primitives

putValue
void putValue(Timestamp timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(bool b)
void putValue(char[] str)
void putValue(Num num)

Serialization primitives

structBegin
uint structBegin(size_t length)
structEnd
void structEnd(uint state)

Serialization primitives

Variables

sink
JsonBuffer!Dg sink;

JSON string buffer

Meta