You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@smidaharoun the JSON is structured that way to allow the case of a single code lookup in the dictionary rather than having to iterate over the entire list.
Which language are you working in? Is there a way to get the values from the JSONObject? Or may be get the keys as a list and then iterate over the keys and get the values that way?
If you can't find a solution, applying the patch below will change the code to generate a JSON with an array of airport data objects. Run ruby reformat.rb at the root of the repo to get the generated airports.json file.
It should be JSONArray instead of JSONObject.
It making it harder to deal with
The text was updated successfully, but these errors were encountered: