#include <json.h>
Usage:
std::unique_ptr<StreamWriter> const writer(
}
◆ StreamWriter()
Json::StreamWriter::StreamWriter |
( |
| ) |
|
◆ ~StreamWriter()
Json::StreamWriter::~StreamWriter |
( |
| ) |
|
|
virtual |
◆ write()
virtual int Json::StreamWriter::write |
( |
Value const & |
root, |
|
|
std::ostream * |
sout |
|
) |
| |
|
pure virtual |
Write Value into document as configured in sub-class. Do not take ownership of sout, but maintain a reference during function.
- Precondition
- sout != NULL
- Returns
- zero on success (For now, we always return zero, so check the stream instead.)
- Exceptions
-
std::exception | possibly, depending on configuration |
Implemented in Json::BuiltStyledStreamWriter.
◆ sout_
std::ostream* Json::StreamWriter::sout_ |
|
protected |
The documentation for this class was generated from the following files:
- Source/ThirdParty/libwebrtc/Source/third_party/protobuf/conformance/third_party/jsoncpp/json.h
- Source/ThirdParty/libwebrtc/Source/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp