parse_json_object

Function parse_json_object 

Source
pub fn parse_json_object<'input_data: 'escaped_data, 'escaped_data>(
    data: &'input_data [u8],
    field_buffer: ParseBuffer<'_, JsonField<'escaped_data, 'escaped_data>>,
    string_escape_buffer: &mut StringBuffer<'escaped_data>,
) -> Result<(usize, usize), 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 parse buffer. returns (num bytes consumed,num fields parsed) on success