pub fn deserialize_records(
json: &Value<'_>,
schema: &Schema
) -> Result<Chunk<Box<dyn Array>>, Error>
Available on crate feature
io_json
only.Expand description
Deserializes a json
Value
serialized in Pandas record format into
a Chunk
.
Uses the Schema
provided, which can be inferred from arbitrary JSON with
[infer_records_schema
].
This is CPU-bounded.
Errors
This function errors iff either:
json
is not aValue::Array
data_type
contains any incompatible types: