Build a StreamWriter implementation. More...
#include <json/writer.h>
Inherits Json::StreamWriter::Factory.
| Public Member Functions | |
| StreamWriterBuilder () | |
| ~StreamWriterBuilder () override | |
| StreamWriter * | newStreamWriter () const override | 
| bool | validate (Json::Value *invalid) const | 
| Value & | operator[] (const String &key) | 
| A simple way to update a specific setting.  More... | |
|  Public Member Functions inherited from Json::StreamWriter::Factory | |
| virtual | ~Factory () | 
| Static Public Member Functions | |
| static void | setDefaults (Json::Value *settings) | 
| Called by ctor, but you can use this to reset settings_.  More... | |
| Public Attributes | |
| Json::Value | settings_ | 
| Configuration of this builder.  More... | |
Build a StreamWriter implementation.
Usage:
| Json::StreamWriterBuilder::StreamWriterBuilder | ( | ) | 
| 
 | overridedefault | 
| 
 | overridevirtual | 
| std::exception | if something goes wrong (e.g. invalid settings) | 
Implements Json::StreamWriter::Factory.
A simple way to update a specific setting.
| 
 | static | 
Called by ctor, but you can use this to reset settings_.
[StreamWriterBuilderDefaults]
[StreamWriterBuilderDefaults]
| bool Json::StreamWriterBuilder::validate | ( | Json::Value * | invalid | ) | const | 
| 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.