rippled
|
Outputs a Value in JSON format without formatting (not human friendly). More...
Public Member Functions | |
FastWriter ()=default | |
virtual | ~FastWriter () |
std::string | write (const Value &root) override |
Private Member Functions | |
void | writeValue (const Value &value) |
Private Attributes | |
std::string | document_ |
Outputs a Value in JSON format without formatting (not human friendly).
The JSON document is written in a single line. It is not intended for 'human' consumption, but may be useful to support feature such as RPC where bandwith is limited.
Definition at line 52 of file json_writer.h.
|
default |
|
virtual |
Definition at line 56 of file json_writer.h.
|
overridevirtual |
Implements Json::WriterBase.
Definition at line 193 of file json_writer.cpp.
|
private |
Definition at line 201 of file json_writer.cpp.
|
private |
Definition at line 68 of file json_writer.h.