pub fn parse_json_with_repair<T: DeserializeOwned>(
json: &str,
) -> Result<T, Error>Expand description
Parse JSON with automatic repair of common malformations.
First tries standard parsing. If that fails, repairs the JSON and retries.
pub fn parse_json_with_repair<T: DeserializeOwned>(
json: &str,
) -> Result<T, Error>Parse JSON with automatic repair of common malformations.
First tries standard parsing. If that fails, repairs the JSON and retries.