pub fn to_pretty_writer<W: Write, T: Serialize>( writer: W, value: &T, ) -> Result<(), JsonSerializationError>
Serialize the value of type T to a writer formatted.
T