Function to_writer

Source
pub fn to_writer<'mem, 'facet, T: Facet<'facet>, W: Write>(
    value: &'mem T,
    writer: &mut W,
) -> Result<()>
Expand description

Serializes a Facet value to JSON and writes it to the given writer.