How to read nested JSON structure with a Sencha Touch Data Model?
问题 I've been trying to figure this out all evening but to no avail. I have a JSON structure as follows (coming from another system so I can't change its structure): { "parents":{ "parent":[ { "parentId":1, "children":{ "child":[ { "childId":1, }, { "childId":2, } ] } }, { "parentId":2, "children":{ "child":[ { "childId":1, }, { "childId":2, } ] } } ], "pageNum":1, "pageSize":2 } } However, I can't figure out what the correct structure for the data models should be. I've tried the following but