Access nested items in python JSON

I’m loading a JSON file with the following structure: {“questions”: [{“question_id”: 0, “image_filename”: “CLEVR_val_009641.png”, “question”: “Are there any tiny green things made of the same material as the small brown sphere?”}, {“question_id”: 1, “image_filename”: “CLEVR_val_010849.png”, “question”: “Are there any purple metal things of the same size as the green shiny object?”}, {“question_id”: 2, “image_filename”: “CLEVR_val_004213.png”,…

Details