Skip to main content

depth_cap

Function depth_cap 

Source
pub fn depth_cap(value: Value, max_depth: usize) -> Value
Expand description

Replace every container nested deeper than max_depth (the root is depth 0) with "<depth>".