Function fix_json_parse

Source
pub fn fix_json_parse(partial_json: &str) -> Result<JsonValue<'_>, JsonError>
Expand description

Takes a partial JSON string, kinda parses it and returns a complete JSON object The JSON is tokenized and parsed. It can then be converted to a string with .to_string() method