| 1205 | DictionaryMemo* dictionary_memo); |
| 1206 | |
| 1207 | Result<FieldVector> GetFieldsFromArray(const RjArray& json_fields, |
| 1208 | FieldPosition parent_pos, |
| 1209 | DictionaryMemo* dictionary_memo) { |
| 1210 | FieldVector fields(json_fields.Size()); |
| 1211 | for (auto [json_field, field, i] : Zip(json_fields, fields, Enumerate<int>)) { |
| 1212 | ARROW_ASSIGN_OR_RAISE(field, |
| 1213 | GetField(json_field, parent_pos.child(i), dictionary_memo)); |
| 1214 | } |
| 1215 | return fields; |
| 1216 | } |
| 1217 | |
| 1218 | Status ParseDictionary(const RjObject& obj, int64_t* id, bool* is_ordered, |
| 1219 | std::shared_ptr<DataType>* index_type) { |
no test coverage detected