check_nesting_depth

Function check_nesting_depth 

Source
pub fn check_nesting_depth(value: &Value, max_depth: usize) -> Result<()>
Expand description

Check JSON nesting depth (to prevent stack overflow attacks)