Skip to main content

scalar_or_json_text

Function scalar_or_json_text 

Source
fn scalar_or_json_text(v: &Value) -> Option<String>
Expand description

Text for a non-string scalar (42"42", true"true") or a JSON object/array (serialized compactly). None leaves strings, nulls and anything else untouched.