...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Maximum nesting level of arrays and objects.
std::size_t max_depth = 32;
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.