pub fn to_writer<'a, T: Facet<'a>, W: Write>( value: &T, writer: &mut W, ) -> Result<()>
Serializes a value to a writer in JSON format