Function parse_json

Source
pub fn parse_json<P: AsRef<Path>>(path: P) -> Result<Report, JsonError>
Expand description

Deserialize a JSON file at the given path into a Report.

This will automatically try to parsing old JSON formats when parsing the newer format fails syntactically.