pub fn to_json_value_max_depth(value: &dyn Serialize, max_depth: usize) -> Value
Create a JSON value for value but only up to a limited depth. Values past that depth are represented as a “…” string.
value