Function json_lines::to_slice

source ·
pub fn to_slice<'a, 'b, T>(
    value: &'b T,
    buf: &'a mut [u8]
) -> Result<&'a mut [u8]>
where T: Serialize + ?Sized,
Expand description

Serialize a T to the given slice.