Writer for Simple JSON. More...
Public Member Functions | |
| SimpleJsonWriter (Buffer &output, bool pretty=false, int indent=4, bool all_fields=true) | |
| Construct from output buffer/stream. | |
| boost::call_traits< Buffer >::reference | GetBuffer () |
| Access to underlying buffer. | |
Writer for Simple JSON.
| bond::SimpleJsonWriter< BufferT >::SimpleJsonWriter | ( | Buffer & | output, |
| bool | pretty = false, | ||
| int | indent = 4, | ||
| bool | all_fields = true ) |
Construct from output buffer/stream.
| output | reference to output buffer/stream |
| pretty | true to generate output with whitespaces, default false |
| indent | number of spaces of indentation, default 4 |
| all_fields | if false, optional fields may be omitted, default true |
| boost::call_traits< Buffer >::reference bond::SimpleJsonWriter< BufferT >::GetBuffer | ( | ) |
Access to underlying buffer.