Function json::stringify_pretty
[−]
[src]
pub fn stringify_pretty<'a, T>(root: T, spaces: u16) -> String where T: Into<JsonValue>
Pretty prints out the value as JSON string. Second argument is a number of spaces to indent new blocks with.