Here is actual response I got from API, I want to convert the below JSON format
From:
"data": [
[
{
"isFile": "true",
"fileType": "image",
"filesize": 100793,
"filename": "attachment_0.png",
}
],
[
{
"isFile": "true",
"fileType": "image",
"filesize": 6343078,
"filename": "attachment_1.png"
}
]
]
To:
"data": [
{
"isFile": "true",
"fileType": "image",
"filesize": 100793,
"filename": "attachment_0.png",
},
{
"isFile": "true",
"fileType": "image",
"filesize": 6343078,
"filename": "attachment_1.png"
}
]
How do I remove the array between the Object.