Hi,
I am new to Sencha touch and trying to get a List from a json data.


Code:
 Ext.regModel('customer', {
            fields: [{
                name: 'id',
                type: 'string'
            }, {
                name: 'customerPk',
                type: 'string'
            }]
        });
        
        var store = new Ext.data.Store({
            autoLoad: true,
            model: 'customer',
            proxy: {
                url: 'http://localhost:8080/restservices/findAllCustomers.json',
                type: 'scripttag',                
                reader: {
                    root: 'customers'
                }
            }
        });
but what i see is the Uncaught SyntaxError: Unexpected token : , The console shows the json data as below

Code:
{"customers":[{"id":"InitialDefault","customerPk":61},{"id":"Userdefined","customerPk":21}]}
Thanks for the help.