| 1974 | }; |
| 1975 | |
| 1976 | Result<std::shared_ptr<ArrayData>> ReadArrayData(MemoryPool* pool, |
| 1977 | const JsonValue& json_array, |
| 1978 | const std::shared_ptr<Field>& field) { |
| 1979 | ARROW_ASSIGN_OR_RAISE( |
| 1980 | auto obj, internal::ResolveSimdjsonResult(json_array.get_object(), |
| 1981 | "Array element was not a JSON object")); |
| 1982 | |
| 1983 | ArrayReader parser(obj, pool, field); |
| 1984 | return parser.Parse(); |
| 1985 | } |
| 1986 | |
| 1987 | Status ReadDictionary(const JsonObject& obj, MemoryPool* pool, |
| 1988 | DictionaryMemo* dictionary_memo) { |