pub fn variant_to_json(input: &ArrayRef) -> Result<StringArray, ArrowError>
Expand description
Transform a batch of Variant represented as STRUCT<metadata: BINARY, value: BINARY> to a batch of JSON strings where nulls are preserved. The JSON strings in the input must be valid.