Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

parse_options

Parser options.

Synopsis

Defined in header <boost/json/parse_options.hpp>

struct parse_options;
Data Members

Name

Description

allow_comments

Non-standard extension option.

allow_infinity_and_nan

Non-standard extension option.

allow_invalid_utf16

Non-standard extension option.

allow_invalid_utf8

Non-standard extension option.

allow_trailing_commas

Non-standard extension option.

max_depth

Maximum nesting level of arrays and objects.

numbers

Number pasing mode.

Friends

Name

Description

operator>>

Set JSON parse options on input stream.

Description

This structure is used for specifying maximum parsing depth, and whether to allow various non-standard extensions. Default-constructed options set maximum parsing depth to 32 and specify that only standard JSON is allowed,

See Also

basic_parser, parser.

Convenience header <boost/json.hpp>


PrevUpHomeNext