A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://open-source-parsers.github.io/jsoncpp-docs/doxygen/class_json_1_1_char_reader_builder.html below:

Build a CharReader implementation. More...

#include <json/reader.h>

Inherits Json::CharReader::Factory.

Build a CharReader implementation.

Usage:

builder["collectComments"] = false;

Value value;

CharReaderBuilder()

Definition: json_reader.cpp:1881

JSON (JavaScript Object Notation).

Definition: allocator.h:14

std::basic_string< char, std::char_traits< char >, Allocator< char > > String

Definition: config.h:132

bool parseFromStream(CharReader::Factory const &, IStream &, Value *root, String *errs)

Consume entire stream and use its begin/end.

Definition: json_reader.cpp:1971

◆ CharReaderBuilder() Json::CharReaderBuilder::CharReaderBuilder ( ) ◆ ~CharReaderBuilder() Json::CharReaderBuilder::~CharReaderBuilder ( ) overridedefault ◆ newCharReader() CharReader * Json::CharReaderBuilder::newCharReader ( ) const overridevirtual ◆ operator[]() Value & Json::CharReaderBuilder::operator[] ( const Stringkey )

A simple way to update a specific setting.

◆ setDefaults() void Json::CharReaderBuilder::setDefaults ( Json::Valuesettings ) static

Called by ctor, but you can use this to reset settings_.

Precondition
'settings' != NULL (but Json::null is fine)

[CharReaderBuilderDefaults]

[CharReaderBuilderDefaults]

◆ strictMode() void Json::CharReaderBuilder::strictMode ( Json::Valuesettings ) static

Same as old Features::strictMode().

Precondition
'settings' != NULL (but Json::null is fine)

[CharReaderBuilderStrictMode]

[CharReaderBuilderStrictMode]

◆ validate() bool Json::CharReaderBuilder::validate ( Json::Valueinvalid ) const
Returns
true if 'settings' are legal and consistent; otherwise, indicate bad settings via 'invalid'.
◆ settings_

Configuration of this builder.

These are case-sensitive. 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.

See also
setDefaults()

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4