Function serde_json::ser::to_vec
[−]
[src]
pub fn to_vec<T>(value: &T) -> Result<Vec<u8>> where T: Serialize
Encode the specified struct into a json [u8]
buffer.