Function to_string_pretty

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

Serialize a value into a string with pretty printing.