Build a StreamWriter implementation. More...
#include <json.h>
Public Member Functions | |
StreamWriter * | newStreamWriter () const override |
StreamWriter * | newStreamWriter () const override |
Value & | operator[] (std::string key) |
Value & | operator[] (std::string key) |
StreamWriterBuilder () | |
StreamWriterBuilder () | |
bool | validate (Json::Value *invalid) const |
bool | validate (Json::Value *invalid) const |
~StreamWriterBuilder () override | |
~StreamWriterBuilder () override | |
![]() | |
virtual | ~Factory () |
virtual | ~Factory () |
Static Public Member Functions | |
static void | setDefaults (Json::Value *settings) |
static void | setDefaults (Json::Value *settings) |
Public Attributes | |
Json::Value | settings_ |
Build a StreamWriter implementation.
Usage:
Definition at line 1753 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Json::StreamWriterBuilder::StreamWriterBuilder | ( | ) |
Definition at line 5087 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
override |
Definition at line 5091 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Json::StreamWriterBuilder::StreamWriterBuilder | ( | ) |
|
override |
|
overridevirtual |
std::exception | if something goes wrong (e.g. invalid settings) |
Implements Json::StreamWriter::Factory.
Definition at line 5093 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
overridevirtual |
std::exception | if something goes wrong (e.g. invalid settings) |
Implements Json::StreamWriter::Factory.
Value& Json::StreamWriterBuilder::operator[] | ( | std::string | key | ) |
A simple way to update a specific setting.
Value & Json::StreamWriterBuilder::operator[] | ( | std::string | key | ) |
A simple way to update a specific setting.
Definition at line 5152 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
static |
Called by ctor, but you can use this to reset settings_.
[StreamWriterBuilderDefaults]
[StreamWriterBuilderDefaults]
[StreamWriterBuilderDefaults]
[StreamWriterBuilderDefaults]
Definition at line 5157 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
static |
Called by ctor, but you can use this to reset settings_.
bool Json::StreamWriterBuilder::validate | ( | Json::Value * | invalid | ) | const |
bool Json::StreamWriterBuilder::validate | ( | Json::Value * | invalid | ) | const |
Definition at line 5135 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Json::Value Json::StreamWriterBuilder::settings_ |
Configuration of this builder. Available settings (case-sensitive):
You can examine 'settings_` yourself to see the defaults. You can also write and read them just like any JSON Value.
Definition at line 1778 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.