Reader for Simple JSON. More...
Public Member Functions | |
SimpleJsonReader (const Buffer &input) | |
Construct from input buffer/stream containing serialized data. More... | |
SimpleJsonReader (SimpleJsonReader &parent, const Field &value) | |
Create a "child" SimpleJsonReader to read value , which is known to be a member of the document in parent . More... | |
const Buffer & | GetBuffer () const |
Access to underlying buffer. More... | |
Buffer & | GetBuffer () |
Access to underlying buffer. More... | |
Reader for Simple JSON.
bond::SimpleJsonReader< BufferT >::SimpleJsonReader | ( | const Buffer & | input | ) |
Construct from input buffer/stream containing serialized data.
bond::SimpleJsonReader< BufferT >::SimpleJsonReader | ( | SimpleJsonReader< BufferT > & | parent, |
const Field & | value | ||
) |
Create a "child" SimpleJsonReader to read value
, which is known to be a member of the document in parent
.
parent
must remain alive for the lifetime of this child. Buffer & bond::SimpleJsonReader< BufferT >::GetBuffer | ( | ) |
Access to underlying buffer.
const Buffer & bond::SimpleJsonReader< BufferT >::GetBuffer | ( | ) | const |
Access to underlying buffer.