Skip to main content

write_pretty

Function write_pretty 

Source
pub fn write_pretty<T: ?Sized + Serialize>(w: impl Write, x: &T) -> Result<()>
Available on crate features json and parse only.
Expand description

Serialize the value into pretty-formatted JSON and write into the writer