Skip to main content

to_json_value_max_depth

Function to_json_value_max_depth 

Source
pub fn to_json_value_max_depth(value: &dyn Serialize, max_depth: usize) -> Value
Expand description

Create a JSON value for value but only up to a limited depth. Values past that depth are represented as a “…” string.