pub fn from_slice_mut<'a, T: Deserialize<'a>>(
json: &'a mut [u8],
) -> Result<T, Error>Expand description
Parse JSON from a mutable slice (Zero-Copy).
This modifies the input buffer in-place to avoid allocations.
pub fn from_slice_mut<'a, T: Deserialize<'a>>(
json: &'a mut [u8],
) -> Result<T, Error>Parse JSON from a mutable slice (Zero-Copy).
This modifies the input buffer in-place to avoid allocations.