The OpenD Programming Language

JsonSerializer

JSON serialization back-end

Members

Aliases

annotationWrapperBegin
alias annotationWrapperBegin = structBegin
sexpBegin
alias sexpBegin = listBegin
sexpElemBegin
alias sexpElemBegin = elemBegin
sexpEnd
alias sexpEnd = listEnd

Functions

annotationWrapperEnd
void annotationWrapperEnd(size_t annotationsState, size_t state)
annotationsEnd
auto annotationsEnd(size_t state)
elemBegin
void elemBegin()
listBegin
size_t listBegin(size_t length)
listEnd
void listEnd(size_t state)
nextTopLevelValue
void nextTopLevelValue()
putAnnotation
void putAnnotation(const(char)[] annotation)
putCompiletimeKey
void putCompiletimeKey()
putKey
void putKey(char[] key)
putNull
void putNull(IonTypeCode code)
putStringPart
void putStringPart(const(char)[] value)

Puts string part. The implementation allows to split string unicode points.

putSymbol
void putSymbol(char[] symbol)
putValue
void putValue(Num value)
putValue
void putValue(BigInt!size num)
putValue
void putValue(Decimal!size num)
putValue
void putValue(typeof(null) )
putValue
void putValue(bool b)
putValue
void putValue(char[] value)
putValue
void putValue(Clob value)
putValue
void putValue(Blob value)
putValue
void putValue(Timestamp value)
stringBegin
size_t stringBegin()
stringEnd
void stringEnd(size_t )
structBegin
size_t structBegin(size_t length)
structEnd
void structEnd(size_t state)

Variables

appender
Appender* appender;

JSON string buffer

serdeTarget
int serdeTarget;

Mutable value used to choose format specidied or user-defined serialization specializations

Meta