Function serde_json::ser::to_writer_pretty
[−]
[src]
pub fn to_writer_pretty<W: ?Sized, T: ?Sized>(writer: &mut W,
value: &T)
-> Result<()> where W: Write, T: Serialize
Encode the specified struct into a json [u8]
writer.