Skip to main content

parse_strict

Function parse_strict 

Source
pub fn parse_strict(
    content: &[u8],
    format: DocumentFormat,
) -> Result<DataContract, DiagnosticReport>
Expand description

Parse and validate an ODCS document, returning an error report on failure.