Skip to main content

stringify_pretty

Function stringify_pretty 

Source
pub fn stringify_pretty(value: &Value) -> String
Expand description

The text JSON.stringify(value, undefined, 2) writes: two spaces per level of nesting, one member per line.