vibe.d beta banner
get vibe.d
0.8.4

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

Struct JsonStringSerializer

Serializer for a range based plain JSON string representation.

struct JsonStringSerializer(R, bool pretty = false)
  
if (isInputRange!R || isOutputRange!(R, char));

Constructors

NameDescription
this

Fields

NameTypeDescription
m_firstInComposite bool
m_level size_t
m_line int
m_range R

Methods

NameDescription
beginReadArrayEntry
beginReadDictionaryEntry
beginWriteArray
beginWriteArrayEntry
beginWriteDictionary
beginWriteDictionaryEntry
endComposite
endReadArrayEntry
endReadDictionaryEntry
endWriteArray
endWriteArrayEntry
endWriteDictionary
endWriteDictionaryEntry
getSerializedResult
indent
readArray
readDictionary
readValue
startComposite
startCompositeEntry
tryReadNull
writeValue

See Also

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

Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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