pub fn parse(src: &str, src_name: &str) -> Result<Document, ParseFailure>Expand description
Parse a JSON document.
A version this build does not read is refused by the model itself
(FormatVersion), so it
arrives here as an ordinary decode failure with the offending token
underlined.
ยงErrors
ParseFailure, carrying the source so the failure points at the
offending line.