pub fn from_slice_mut<T: DeserializeOwned>(json: &mut [u8]) -> Result<T, Error>
Parse JSON from a mutable slice.
Returns an error if parsing fails.