Function serde_json_core::to_slice

source ยท
pub fn to_slice<T>(value: &T, buf: &mut [u8]) -> Result<usize>
where T: Serialize + ?Sized,
Expand description

Serializes the given data structure as a JSON byte vector into the provided buffer