Function serde_json_core::ser::to_slice[][src]

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