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