ron::ser

Function to_writer

Source
pub fn to_writer<W, T>(writer: W, value: &T) -> Result<()>
where W: Write, T: ?Sized + Serialize,
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.