Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-10987
Create lightweight wrapper, JSONArray to interpret BinaryArray values as serialized JSON. Leverage recent work for inferring JSON schema to support conversion to StructArray.
Example:
{code:java}
let json_array: JSONArray = binary_array.into();
let struct_array: StructArray = json_array.try_into().unwrap();
{code}
Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-10987
Create lightweight wrapper,
JSONArrayto interpretBinaryArrayvalues as serialized JSON. Leverage recent work for inferring JSON schema to support conversion toStructArray.Example:
{code:java}
let json_array: JSONArray = binary_array.into();
let struct_array: StructArray = json_array.try_into().unwrap();
{code}