Skip to main content

MAX_STRICT_JSON_NESTING

Constant MAX_STRICT_JSON_NESTING 

Source
pub const MAX_STRICT_JSON_NESTING: usize = 127;
Expand description

Maximum nested object/array container count accepted by the strict JSON profile.

serde_json’s 128-level recursion limit includes the scalar leaf, leaving room for at most 127 containers around it.