Discussions
Displaying recursive data results from an API
over 2 years ago by Ahmed Emad
My api response returns data with the following structure
{
"data": [
{
"id": "",
"name": "",
"children": [
{
"id": "",
"name": "",
"children": [
]
},
{
"id": "",
"name": "",
"children": [
]
},
]
}
]
}
The children contains other children and so on, what is the best way to do so?