serdeconv

Function to_json_string_pretty

Source
pub fn to_json_string_pretty<T>(value: &T) -> Result<String>
where T: ?Sized + Serialize,
Expand description

Converts the value to a pretty printed JSON string.