Function mz_interchange::json::build_row_schema_json
source ยท pub fn build_row_schema_json(
columns: &[(ColumnName, ColumnType)],
name: &str,
custom_names: &BTreeMap<CatalogItemId, String>,
item_id: Option<CatalogItemId>,
options: &SchemaOptions,
) -> Result<Value, Error>
Expand description
Builds the JSON for the row schema, which can be independently useful.