#include <json.h>
Classes | |
class | Factory |
A simple abstract factory. More... | |
Public Member Functions | |
StreamWriter () | |
virtual int | write (Value const &root, std::ostream *sout)=0 |
virtual | ~StreamWriter () |
Protected Attributes | |
std::ostream * | sout_ |
Usage:
Json::StreamWriter::StreamWriter | ( | ) |
Definition at line 5015 of file jsoncpp.cpp.
|
virtual |
Definition at line 5019 of file jsoncpp.cpp.
|
pure virtual |
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.