pub fn check_nesting_depth(value: &Value, max_depth: usize) -> Result<()>
Check JSON nesting depth (to prevent stack overflow attacks)