pub fn deserialize(
    rows: &[String],
    data_type: DataType
) -> Result<Box<dyn Array>, Error>
Available on crate feature io_json only.
Expand description

Deserializes rows into an Array of DataType.

Implementation

This function is CPU-bounded. This function is guaranteed to return an array of length equal to rows.len().

Errors

This function errors iff any of the rows is not a valid JSON (i.e. the format is not valid NDJSON).