pub fn parse(json: &str) -> Result<ParseResult>Expand description
Parse a XARF report from a JSON string.
Returns Err(XarfError::InvalidJson) only when the input is not valid
JSON (or not a JSON object). All other failures surface as entries in
ParseResult::errors / ParseResult::warnings.