Function serdeconv::to_json_writer_pretty [] [src]

pub fn to_json_writer_pretty<T: ?Sized, W>(value: &T, writer: W) -> Result<()> where
    T: Serialize,
    W: Write

Converts the value to a pretty printed JSON string and writes it to the writer.