serde_jcs
pub fn to_writer<W, T: ?Sized>(writer: W, value: &T) -> Result<()> where W: Write, T: Serialize,
Serialize the given value as JSON into the IO stream.
Serialization is performed as specified in RFC 8785.
Serialization can fail if T's implementation of Serialize fails.
T
Serialize