Parsing the JSON

I’m having trouble figuring out how to parse this JSON data. It is not automatically parsed to usable components. I tried defining it as value type of “Arrays” and then “Objects” and then “String” and some other combinations. What’s the correct way to define the data types? Thanks!

{
“values”: [
{
“name”: “Palju, tekn.tila”,
“id”: “28.A347C8060000”,
“temp”: “29.25°C”
},
{
“name”: “Merivesi”,
“id”: “28.6E5E78321401”,
“temp”: “3°C”
},
{
“name”: “Palju, ulkoilma”,
“id”: “28.492598060000”,
“temp”: “8.69°C”
},
{
“name”: “Sauna tekninen tila”,
“id”: “28.0D8345920202”,
“temp”: “11.63°C”
}
]
}

What’s the source of the data? If it’s a REST API, you should be able to use the Test tab in the Data Configurator to get a response, and then use “Set schema from response”.

Since this is an array of objects, you need to use the Get All route. However, since the actual objects are under values, you need to write values in the Response key path in the Config tab. This instructs Composer to look inside the values key in the response object.

Or is it just data you want to manually preload into your app when it starts?