I have below JSON return as response from API:
{"data":"123","value":[{name:'test", class:"A1"},{name:'test2", class:"A2"},{name:'test", class:"A3"}]}
I want to access name & class property of value array. I tried:
myArray.forEarch((element, index, array) => {
})
but this does not work well. Any pointer please.
Thankk