Function serde_json_core::ser::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