Skip to main content

to_string_pretty

Function to_string_pretty 

Source
pub fn to_string_pretty<T: Serialize>(value: &T) -> Result<String>
Expand description

Serialize to pretty-printed JSON (no comments preserved). Output is always standard JSON format.