parse_json_object

Function parse_json_object 

Source
pub fn parse_json_object<'data, 'field_buffer>(
    data: &'data [u8],
    field_buffer: &'field_buffer mut [JsonField<'data, 'data>],
) -> Result<(usize, &'field_buffer [JsonField<'data, 'data>]), JsonParseFailure>
Expand description

the core function that powers parsing in the JsonObject API. It attempts to parse the fields of a json object from the provided data slice into the provided field buffer, then return (data bytes consumed, parsed field slice) on success.