serde_json_wasm
pub fn to_vec<T: ?Sized>(value: &T) -> Result<Vec<u8>> where T: Serialize,
Serializes the given data structure as a JSON byte vector