Having some difficulty with the JSON data I received. The structure is as follows:
[
[
{
"items": [
{
"id": "xxxxxxx",
"name": "xxxxxxxxxx",
"description": "xxxxxxxxxxx"
},
{
"id": "xxxxxxx",
"name": "xxxxxxxxxx",
"description": "xxxxxxxxxxx"
}
],
"parentId": "xxxxxxxx",
"title": "xxxxxxxxx",
"type": "xxxxxxx"
}
],
[
{
"items": [
{
"id": "xxxxxxx",
"name": "xxxxxxxxxx",
"description": "xxxxxxxxxxx"
},
{
"id": "xxxxxxx",
"name": "xxxxxxxxxx",
"description": "xxxxxxxxxxx"
}
],
"parentId": "xxxxxxxx",
"title": "xxxxxxxxx",
"type": "xxxxxxx"
}
]
]
I have an object called 'data', and when I stringify 'data', I get the structure above. My challenge is locating a specific parentId within this JSON. The current structure differs from what I am used to, as I am accustomed to having 'items' at the top level for easier navigation.