Skip to main content

nested_projection_type

Function nested_projection_type 

Source
fn nested_projection_type(path: &[String], leaf_type: &DataType) -> DataType
Expand description

Builds a nested struct type for projecting the remaining JSON path.

For example, path ["a", "b"] with an Int64 leaf produces Struct<a: Struct<b: Int64>>.