• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Parsing array (?)

 
Ranch Hand
Posts: 157
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Dear Medems and Siiiirs,

Can you help me out with a little bit of your shiny knowledge?

I am supposed to extract elements from a website, so I wrote, in an API.js file, the below function:



In an index.js file, I am trying to process the information I get from the json object:



At this stage I tried several ways to parse the array object.
In the console I get the array which I am supposed to ransom, but I am unable to make it work unfortunately!

Do you know what I am doing wrong?
Thank you!


Screenshot-2019-07-11-at-18.22.22-copy.png
[Thumbnail for Screenshot-2019-07-11-at-18.22.22-copy.png]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!