Skip to main content

parse_catalog

Function parse_catalog 

Source
pub fn parse_catalog(json: &str) -> Result<Catalog, Error>
Expand description

Parse a catalog from a JSON string.

ยงErrors

Returns an error if the string is not valid JSON or does not match the catalog schema.