PDA

View Full Version : How to map a complex json field into an Ext.data.record field?



Northdude
7 Apr 2008, 11:27 AM
We use JsonStores to retreive data from the server and were wondering if it was possible to map a json like the following, which have a 'complex' field?



{
Total: 1,
Records: [
{
name: 'John',
childs: [
{name: 'Sam'},
{name: 'Eric'}
]
},
{
name: 'Jane',
childs: [
{name: 'Lisa'},
{name: 'Julia'}
]
}
]
}


Thanks!