How to access individual elements within the array.
So I have this simple array below. Which has two elements, title and url. Now I want to loop over this array and get the values of array[i].title and array[i].url. How to achieve this?
Using apply to each I can easily loop over the array but I cannot access the individual elements. How to do this? Preferably in two different variables "title" and "url", which each iteration are set to the values of the corresponding index of the array.
My code; https://imgur.com/a/Nyhz2Oa
[
{ "title": "item 1",
"url" : "url 1"
},
{ "title": "item 2",
"url" : "url 2"
},
{ "title": "item 3",
"url" : "url 3"
}
]

Report
All responses (
Answers (