Function mz_interchange::json::encode_datums_as_json
source ยท pub fn encode_datums_as_json<'a, I>(
datums: I,
names_types: &[(ColumnName, ColumnType)],
) -> Valuewhere
I: IntoIterator<Item = Datum<'a>>,
Expand description
Encodes a sequence of Datum
as JSON, using supplied column names and types.