I am using an API that returns data in a horrible format that I cannot seem to use. I just need to programmatically turn something with this format:
{
"987654321": {
"title": "Item One",
"amount": 60,
"id": "987654321"
},
"876543210": {
"title": "Item Two",
"amount": null,
"id": "876543210"
}
}
into something with this format:
{
{
"title": "Item One",
"amount": 60,
"id": "987654321"
},
{
"title": "Item Two",
"amount": null,
"id": "876543210"
}
}
The result needs to work with things like a Select action or an Apply to Each action. I am open to trying any suggestions that involve native Power Automate functions and features, as well as suggestions involving Office Scripts. I have been trying to achieve this seemingly simple transformation for far too many hours so any help would be greatly appreciated.