The OpenD Programming Language

TextSerializer

Ion serialization back-end

Members

Functions

annotationWrapperBegin
size_t annotationWrapperBegin()
annotationWrapperEnd
void annotationWrapperEnd(size_t , size_t )
annotationsEnd
size_t 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)
putCompiletimeAnnotation
void putCompiletimeAnnotation()
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[] key)
putValue
void putValue(Num num)
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)
sexpBegin
size_t sexpBegin(size_t length)
sexpElemBegin
void sexpElemBegin()
sexpEnd
void sexpEnd(size_t state)
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;

Ion string buffer

serdeTarget
int serdeTarget;

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

Meta