[][src]Function simd_json::value::borrowed::to_value_with_buffers

pub fn to_value_with_buffers<'v>(
    s: &'v mut [u8],
    input_buffer: &mut AlignedBuf,
    string_buffer: &mut [u8]
) -> Result<Value<'v>>

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.