Skip to main content

MAX_NESTING_DEPTH

Constant MAX_NESTING_DEPTH 

Source
pub const MAX_NESTING_DEPTH: usize = 128;
Expand description

Maximum array/object nesting depth accepted by both JCS entry points.

The text parser applies this guard after disabling serde_json’s recursion limit, and trusted values apply it during canonicalization.