pub fn deserialize_iter<'a>(
rows: impl Iterator<Item = &'a str>,
data_type: DataType
) -> Result<Box<dyn Array>, Error>
Available on crate feature
io_json
only.Expand description
Deserializes an iterator of rows into an Array
of DataType
.
Implementation
This function is CPU-bounded. This function is guaranteed to return an array of length equal to the leng
Errors
This function errors iff any of the rows is not a valid JSON (i.e. the format is not valid NDJSON).