I am new to Swift and Codable approach. I have to decode the following JSON structure, through Codable approach in Swift project.
[
[
[
{
"id": "58",
"parentCat": "7",
"catFirstTitle": "freedom to"
},
{
"id": "40",
"parentCat": "5",
"catFirstTitle": "freedom to"
}
],
[
{
"id": "58",
"parentCat": "7",
"catFirstTitle": "freedom to"
},
{
"id": "40",
"parentCat": "5",
"catFirstTitle": "freedom to"
}
]
],
[
[
{
"id": "58",
"parentCat": "7",
"catFirstTitle": "freedom to"
}
]
]
]
I could not find any examples of decoding multi level jsonArrays without key names. Any pointer or example will be a great help to me.