vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Struct JsonSerializer

Serializer for a plain Json representation.

struct JsonSerializer ;

Constructors

NameDescription
this (data)

Methods

NameDescription
beginReadArrayEntry (index)
beginReadDictionaryEntry (name)
beginWriteArray ()
beginWriteArrayEntry ()
beginWriteDictionary ()
beginWriteDictionaryEntry (name)
endReadArrayEntry (index)
endReadDictionaryEntry (name)
endWriteArray ()
endWriteArrayEntry ()
endWriteDictionary ()
endWriteDictionaryEntry (name)
getSerializedResult ()
readArray (size_callback, entry_callback)
readDictionary (field_handler)
readValue ()
tryReadNull ()
writeValue (value)
writeValue (value)
writeValue (value)

See Also

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

Authors

Sönke Ludwig

Copyright

© 2012-2015 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.