I'm using PHP,I have decoded JSON, for access data from json array I'm using this notation:
$slopes_total = $myArray['items'][0]['slopes-total'];
below is one part of decoded JSON
"items":[
{
"valley-run":false,
"slopes-opened":60,
"slopes-total":120,
"forecast":{
"it":{
"1576748703":"10:Nubi fitte, ma solo deboli piogge.",
"1576835103":"10:Nubi fitte, ma solo deboli piogge.",
"1576921503":"10:Nubi fitte, ma solo deboli piogge."
},
"de":{
"1576748703":"10:Dicke Wolken, aber nur leichter Regen.",
"1576835103":"10:Dicke Wolken, aber nur leichter Regen.",
"1576921503":"10:Dicke Wolken, aber nur leichter Regen."
},
"en":{
"1576748703":"10:Thick cloud cover but little rain only forecast.",
"1576835103":"10:Thick cloud cover but little rain only forecast.",
"1576921503":"10:Thick cloud cover but little rain only forecast."
}
},
I have no problem to access: valley-run, slopes_opened..., the problem starts when I want to access: forecast en (data inside this array) in need to access each of 3 timestamp values and each of meteo descriptions.
$myArray['items'][0]['forecast']['it']['1576748703']should work.