pub fn to_json<W>( peek: Peek<'_>, writer: &mut W, indent: bool, ) -> Result<(), Error>where W: Write,
Serializes any Facet type to JSON