Need help with treeview async

Need help with treeview async

I've written a spring java project that returns a json formatted list of folders that I would like to integrate with treeview async but I'm having problems getting it to work probably due to the structure of my json data.

My json data looks like this:
 json: {"list":{"folder":[
{"name":"Desktop","path":"\/home\/Desktop\/","children":true},
{"name":"Documents","path":"\/home\/Documents\/","children":true},
{"name":"public_html","path":"\/home\/public_html\/","children":true},
{"name":"lib","path":"\/home\/lib\/","children":false},
{"name":"images","path":"\/home\/images\/","children":false}
]
}}

Ideally, I would like to list my parent directories above and if the attribute children equals true I want the directory to be expandible. By clicking on one of the directories that has children I want to then search for the children and display.

Is this possible? What kind of modifications are involved? Or, is it easier to start from scratch?

Thanks.