pub fn to_string_pretty<T: Serialize + ?Sized>( value: &T, indent: &str, ) -> Result<String>
Serializes value like JSON.stringify(value, null, indent).
value
JSON.stringify(value, null, indent)