jsonformat

Function format

Source
pub fn format(json: &str, indentation: Indentation<'_>) -> String
Expand description

ยงFormats a json string

The indentation can be set to any value using Indentation The default value is two spaces The default indentation is faster than a custom one