Boost C++ Libraries Home Libraries People FAQ More

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_invalid_utf8

Non-standard extension option.

allow_trailing_commas

Non-standard extension option.

max_depth

Maximum nesting level of arrays and objects.

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