Hi,
i need a special result, but i dont know how to iterate over an associative array.
Here is this JSON-Events:
Event 1:
{
"created": "28\/May\/2018:06:24:00 +0200",
"response": {
"products": {
"1": {
"id": 10,
"price": 120
},
"2": {
"id": 20,
"price": 65
},
"3": {
"id": 30,
"price": 80
}
}
}
}
Event 2:
{
"created": "30\/May\/2018:08:10:00 +0200",
"response": {
"products": {
"1": {
"id": 40,
"price": 120
},
"2": {
"id": 50,
"price": 65
}
}
}
}
And i need the folowing result:
ID Price
-------------------
10 120
20 65
...
50 65
Any idea?
Many thanks 🙂
... View more