I hava a sample and dynamic array like this:
nodes: [
{
n1: "Foods",
},
{
n4: "Drinks",
b7: [
{
a2: "Beers",
a4: [
{
a5: "Budweiser",
a6: "deneme",
},
{
a7: "Heineken",
},
{
a8: "1",
a9: "2",
},
],
},
{
z1: "Wines",
},
{
z2: "Whiskey",
},
],
},
]
This array always changes dynimacally. I want to show this array keys in a tree table. So we should see relationship between parens and child. For example:
n1
n4
b7
a2
a4
a5
a6