Skip to main content

parse_catalog

Function parse_catalog 

Source
pub fn parse_catalog(input: &Value) -> Result<Catalog, HaysonSchemaError>
Expand description

Validates a parsed hayson.json of a format-2 database and returns it typed, without opening the database. Every message names the path it failed on, such as tables.users.indexes[1].fields.