Skip to main content

parse_deep

Function parse_deep 

Source
pub fn parse_deep(text: &str) -> Result<Value>
Expand description

Read JSON text that may nest deeper than the reader’s default of 128 levels, up to MAX_DEEP_NESTING (checked by a scan before parsing, so the parser’s stack stays bounded). For entries whose values the reference canonicalizes whatever their depth: proofs, signing inputs, chains of trust credentials.

The no_std build has no such allowance: it refuses text nested past crate::nesting::NO_STD_MAX_NESTING with the same scan, before parsing, and reads the rest with the reader’s default limit.