pub fn values_to_array( values: &[Value], dt: &DataType, ) -> Result<Arc<dyn Array>, Error>
Convert a slice of JSON Values to an Arrow array based on the target Arrow DataType.