Input Json:
[
[
{
"Instance": "i-123",
"Name": "first",
"InstanceProfile": "string1"
},
{
"Instance": "i-456",
"Name": "second",
"InstanceProfile": "string2"
}
],
[
{
"Instance": "i-789",
"Name": "third",
"InstanceProfile": "string3"
}
]
]
Output CSV:
Instance,Name,InstanceProfile
i-123,first,string1
i-456,second,string2
i-789,third,string3
I could'nt do this as there is additional square brackets before and after the actual list and the list is list of lists which is confusing.
Please assist.