I would like to know if there’s a way to specific point to an element inside an array using surloop? For example, I would like to printout as following
temperature:11.7
humidity:1
pressure:678.3
instead of the elementValue.
TEMP:11.7
HUMD:1
PRES:678.3
“weatherElement”: [
{
“elementName”: “TEMP”,
“elementValue”: “11.7”
},
{
“elementName”: “HUMD”,
“elementValue”: “1”
},
{
“elementName”: “PRES”,
“elementValue”: “678.3”
}
],