JsonSerializer

Serializer for a plain Json representation.

Constructors

this
this(Json data)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

beginReadArrayEntry
void beginReadArrayEntry(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
beginReadDictionaryEntry
void beginReadDictionaryEntry(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
beginWriteArray
void beginWriteArray(size_t )
Undocumented in source. Be warned that the author may not have intended to support it.
beginWriteArrayEntry
void beginWriteArrayEntry(size_t )
Undocumented in source. Be warned that the author may not have intended to support it.
beginWriteDictionary
void beginWriteDictionary()
Undocumented in source. Be warned that the author may not have intended to support it.
beginWriteDictionaryEntry
void beginWriteDictionaryEntry(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
endReadArrayEntry
void endReadArrayEntry(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
endReadDictionaryEntry
void endReadDictionaryEntry(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteArray
void endWriteArray()
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteArrayEntry
void endWriteArrayEntry(size_t )
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteDictionary
void endWriteDictionary()
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteDictionaryEntry
void endWriteDictionaryEntry(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getSerializedResult
Json getSerializedResult()
Undocumented in source. Be warned that the author may not have intended to support it.
readArray
void readArray(void delegate(size_t) @(safe) size_callback, void delegate() @(safe) entry_callback)
Undocumented in source. Be warned that the author may not have intended to support it.
readDictionary
void readDictionary(void delegate(string) @(safe) field_handler)
Undocumented in source. Be warned that the author may not have intended to support it.
readValue
T readValue()
Undocumented in source. Be warned that the author may not have intended to support it.
tryReadNull
bool tryReadNull()
Undocumented in source. Be warned that the author may not have intended to support it.
writeValue
void writeValue(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeValue
void writeValue(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeValue
void writeValue(T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

isJsonBasicType
template isJsonBasicType(T)
Undocumented in source.
isSupportedValueType
template isSupportedValueType(T)
Undocumented in source.

See Also

vibe.data.serialization.serialize, vibe.data.serialization.deserialize, serializeToJson, deserializeJson

Meta