My json response is like
"answers": [{
"data": [
{
"currency": "EUR/JPY",
"rate": "122.593",
"timestamp": "1497524449141"
},
{
"currency": "EUR/CHF",
"rate": "1.08779",
"timestamp": "1497524449234"
},
{
"currency": "USD/CAD",
"rate": "1.32772",
"timestamp": "1497524449235"
},
{
"currency": "AUD/USD",
"rate": "0.75875",
"timestamp": "1497524449148"
},
{
"currency": "GBP/JPY",
"rate": "140.248",
"timestamp": "1497524449230"
}
],
"metadata": {"count": 60},
"actions": [{
"type": "table",
"columns": {
"currency": "Valuta",
"rate": "Quota"
},
"count": -1
}]
}],
Here action Json array has json object columns. Key currency and rate name is dynamic i.e it may have other name like game and goal or anything else and also number of key may also change. Accordingly key in data json array also change. Data json array use same key name.