View Full Version : store sync always sends data as an array

26 Aug 2011, 10:42 AM
when i add a single record to the store and do a store.sync() it sends the JSON with the records array, although I have only added one record. It looks like this:

how can i have sencha touch send the json with an object. i would like it to look like this


I realize this could be done in sencha / extjs 4.0 by having singleSelect:true, but how do i do this in sencha touch?