Skip to main content

pretty

Function pretty 

Source
pub fn pretty(s: &str) -> Result<String, JsonError>
Expand description

Re-indents a JSON document with two spaces, without touching the text of strings and numbers.