Function simd_json::serde::to_vec

source ·
pub fn to_vec<T>(to: &T) -> Result<Vec<u8>>
where T: Serialize + ?Sized,
Expand description

Write a value to a vector

§Errors

when the data can not be written