I have the following JSON object
Input:
{
"17.39.108.85:80": [],
"10.204.32.9:443": [
{
"status": "DOWN"
}
]
}
and trying to transform it into a list/array as below :
Desired Output:
[
{
"17.39.108.85:80": []
},
{
"10.204.32.9:443": [
{
"status": "DOWN"
}
]
}
]
What's the best way to use Jolt.