Hey,
The JSON you provided is quite dynamic, meaning it should be either formatted to something like this:
{
"propertyValues": [
{
"key": "6/14/2022 12:00:00 AM",
"value": 2.0
},
{
"key": "6/14/2022 12:30:00 AM",
"value": 2.0
},
{
"key": "6/14/2022 1:00:00 AM",
"value": 2.0
},
{
"key": "6/14/2022 1:30:00 AM",
"value": 2.0
}
]
}
Or you just build a more complex logic where you accept the JSON as plain text, not in a structured way and then perform operations (maybe using ardoJSON component) to get a structured record out of it. It's the way OutSystems interprets the JSON texts, it's difficult to automatically build dynamic structures based on variable keys.
Regards,
Bogdan