pub fn to_writer_pretty<W, T>(writer: W, value: &T) -> Result<()>Expand description
Serialize the given data structure as pretty-printed JSON into the I/O stream.
Equivalent to serde_json::to_writer_pretty but with errors extended with serde_path_to_error.
See serde_json::to_writer_pretty for more documentation.