Function conjure_serde::json::to_vec

source ยท
pub fn to_vec<T>(value: &T) -> Result<Vec<u8>, Error>
where T: ?Sized + Serialize,
Expand description

Serializes a value as JSON into a byte buffer.