ron::ser

Function to_writer_pretty

Source
pub fn to_writer_pretty<W, T>(
    writer: W,
    value: &T,
    config: PrettyConfig,
) -> Result<()>
where W: Write, T: ?Sized + Serialize,
Expand description

Serializes value into writer in a pretty way.