pub fn to_writer_pretty<W, T>(
writer: W,
value: &T,
config: PrettyConfig,
) -> Result<()>Expand description
Serializes value into writer in a pretty way.
writer is required to implement core::fmt::Write. To use std::io::Write instead,
see Options::to_io_writer_pretty.