Function json_to_variant
pub fn json_to_variant(
input: &Arc<dyn Array>,
) -> Result<VariantArray, ArrowError>
Expand description
Parse a batch of JSON strings into a batch of Variants represented as STRUCT<metadata: BINARY, value: BINARY> where nulls are preserved. The JSON strings in the input must be valid.
Supports the following string array types:
- [
StringArray
] - [
LargeStringArray
] - [
StringViewArray
]