parse_options::max_depth
Maximum nesting level of arrays and objects.
Synopsis
std::size_t max_depth = 32;
Description
This specifies the maximum number of nested structures allowed while parsing a JSON text. If this limit is exceeded during a parse, an error is returned.