#include <json.h>
Data Structures | |
class | Factory |
A simple abstract factory. More... | |
Public Member Functions | |
StreamWriter () | |
virtual | ~StreamWriter () |
virtual int | write (Value const &root, OStream *sout)=0 |
Protected Attributes | |
OStream * | sout_ |
Usage:
Json::StreamWriter::StreamWriter | ( | ) |
|
virtualdefault |
Write Value into document as configured in sub-class. Do not take ownership of sout, but maintain a reference during function.
std::exception | possibly, depending on configuration |
Implemented in Json::BuiltStyledStreamWriter, and Json::BuiltStyledStreamWriter.
|
protected |