Skip to main content

check_value_depth

Function check_value_depth 

Source
pub fn check_value_depth(v: &Value) -> Result<()>
Expand description

Checks that an already-parsed value nests at most MAX_DEPTH arrays and objects (SPEC 6.1 applies the parser’s limit to values accepted in parsed form). E_PARSE_JSON.