pub fn parse_to_value_with_buffers<'value>(
s: &'value mut [u8],
buffer: &mut Buffers,
) -> Result<Value<'value>>
Expand description
Parses a slice of bytes into a Value dom. This function will rewrite the slice to de-escape strings. As we reference parts of the input slice the resulting dom has the same lifetime as the slice it was created from.
ยงErrors
Will return Err
if s
is invalid JSON.