Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

313
Vistas
Why can't I access the key and value pairs of my array

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
    }]
  }]
}

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda