pub fn to_writer<W, T>(writer: W, value: &T) -> Result<()>Expand description
Serializes value into writer.
This function does not generate any newlines or nice formatting;
if you want that, you can use to_writer_pretty instead.
writer is required to implement core::fmt::Write. To use std::io::Write instead,
see Options::to_io_writer.