serde_json_core
pub fn to_slice<T: ?Sized>(value: &T, buf: &mut [u8]) -> Result<usize> where T: Serialize,
Serializes the given data structure as a JSON byte vector into the provided buffer