Accessing nested objects in JSON feed - Sencha Touch Accessing nested objects in JSON feed - Sencha Touch json json

Accessing nested objects in JSON feed - Sencha Touch


The solution! Turns out Sencha didn't like the $ in my template variable.

Ext.regModel('Count', {    fields: [{name:'count', mapping:'content.$t'}]});this.list = new Ext.List({            itemTpl: new Ext.XTemplate('<div>{count}</div>'),            loadingText: false,            store: new Ext.data.Store({                model: 'Count',                proxy: {                    type: 'scripttag',                     url :  'http://spreadsheets.google.com/feeds/cells/0AuYDRk91MX8-dHhkV29ZVkRGNjlvZjV4QVBIVmJubVE/odb/public/basic?range=A1&alt=json',                    reader: {                        type: 'json',                        root: 'feed.entry'                    }                }            })        });