Function variant_to_json
pub fn variant_to_json(
input: &Arc<dyn Array>,
) -> Result<GenericByteArray<GenericStringType<i32>>, 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.