jsonformat

Function format_reader_writer

Source
pub fn format_reader_writer<R, W>(
    reader: R,
    writer: W,
    indentation: Indentation<'_>,
) -> Result<()>
where R: Read, W: Write,
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