23 lines
773 B
JSON
23 lines
773 B
JSON
|
{
|
||
|
identifier: 'id',
|
||
|
label: 'name',
|
||
|
items: [
|
||
|
{ id: 'root', name:'root', someProperty:'root property', children: [
|
||
|
{_reference:'node1'},
|
||
|
{_reference:'node2'},
|
||
|
{_reference:'node3'},
|
||
|
{_reference:'node4'},
|
||
|
{_reference:'node5'}
|
||
|
]},
|
||
|
{ id: 'node1', name:'node1', someProperty:'somePropertyA', children: [
|
||
|
{_reference:'node1.1'}, {_reference:'node1.2'}
|
||
|
]},
|
||
|
{ id: 'node1.1',name:'node1.1', someProperty:'somePropertyA1'},
|
||
|
{ id: 'node1.2',name:'node1.2', someProperty:'somePropertyA2'},
|
||
|
{ id: 'node2', name:'node2', someProperty:'somePropertyB'},
|
||
|
{ id: 'node3', name:'node3', someProperty:'somePropertyC'},
|
||
|
{ id: 'node4', name:'node4', someProperty:'somePropertyA'},
|
||
|
{ id: 'node5', name:'node5', someProperty:'somePropertyB'}
|
||
|
]
|
||
|
}
|