- How would you create this Json object from my ASP.Net MVC 3 Controller ?
Newbie in Json, in this Json object notation, can I replace the
[
and]
sign with{
and}
?var data = [ { label: 'node1', children: [ { label: 'child1' }, { label: 'child2' } ] }, { label: 'node2', children: [ { label: 'child3' } ] } ];
谢谢