I'm having a problem trying to access the key/value pairs in an array, which is in an array of objects. I want access to the key/value pairs inside of the critiques array.
When using Dot Notation, I don't get the key/value pairs inside of critiques as an option. There must be something wrong with the my JSON data structure?
const obj = {
"movies": [{
"title": "Spiderhead",
"cover": "https://media1.houstonpress.com/hou/imager/u/slideshow/13574136/hou_art_20220617_spiderhead_header.jpg",
"description": "In the near future, convicts are offered the chance to volunteer as medical subjects to shorten their sentence. One such subject for a new drug capable of generating feelings of love begins questioning the reality of his emotions.",
"year": 2022,
"genre": "Action",
"length": "1h 46m",
"viewer_rating": 54,
"critic_rating": 2.0,
"critiques": [{
"critic_name": "Roger Ebert",
"critic_image": "https://6ft.com/wp-content/uploads/2020/04/roger_ebert_dot_com_logo1.png",
"feedback": "“Spiderhead” imagines a different kind of prison system—one with an open-door policy that allows the incarcerated to have their sense of self, to cook for themselves, to work out when they want to. What they sacrifice as punishment is their brain chemistry for science, which is toyed with by Steve Abnesti (Chris Hemsworth), following the orders of a protocol committee hoping to cure the world's problems through dosages. The prisoner has the free will to take an experimental dosage—approved by saying “Acknowledge”—and can be faced with the self-loathing of “Darkenfloxx,” or the immense need to laugh from “Laffodil.” If Abnesti needs them to articulate what they're thinking, he raises the dosage (via a smartphone app) on 'Verbaluce.' These are strange names (from the George Saunders short story Escape from Spiderhead, a first-person account that thrives on casually throwing these words around), and it's sure strange to see Hemsworth play this guy.",
"rating": 2
}]
}]
}