serde_jcs
pub fn to_vec<T: ?Sized>(value: &T) -> Result<Vec<u8>> where T: Serialize,
Serialize the given value as a JSON byte vector.
Serialization is performed as specified in RFC 8785.
Serialization can fail if T's implementation of Serialize fails.
T
Serialize