I'm trying to add a Tree View to my VS Code extension. Data is a complex JSON object. I stuggle to get this to working as the examples aren't straight forward to me.
Lets say I have a simple object:
"cars": [
{ "name":"Ford", "models":[ "Fiesta", "Focus", "Mustang" ] },
{ "name":"BMW", "models":[ "320", "X3", "X5" ] }
]
I would like to render this in the treeview as follows:
Cars
> Ford
> Fiesta
> Focus
> Mustang
> BMW
> 320
> X3
> X5
Any pointers how to achieve this, or know of an repo I can look at that does something similar?
