Function to_string_pretty

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

Serializes value in the recommended RON layout in a pretty way.