to_string_pretty

Function to_string_pretty 

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

Serialize a Rust value to a JASN string with pretty formatting.