Function json::stringify_pretty[][src]

pub fn stringify_pretty<T>(root: T, spaces: u16) -> String where
    T: Into<JsonValue>, 
Expand description

Pretty prints out the value as JSON string. Second argument is a number of spaces to indent new blocks with.