im working on a project but I ran into a problem :( I looked on the internet for like 2-3 hours and cannot find the way how to do it...
I retrieve this JSON from my database:
{
"articles": {
"1": {"discription":"Transport", "tax":"21", "price":"234"
},
"2": {"discription":"Opslag", "tax":"19", "price":"19"}
}
}
What I want to do next is retrieve the description,tax & Price from each object, how to do this with a for each loop on the most efficient way?
Thanks!