Skip to main content

schema_document

Function schema_document 

Source
pub fn schema_document(schema: &TableSchema) -> Value
Expand description

A schema as the standalone document schema::parse_schema reads back and createTable takes — the same shape, key order and omissions as the TS serializeSchema/describeTable pair. Fields come out in BTreeMap order, which is the alphabetical order hayson.json holds them in.