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