-
16 Jul 2007 11:27 AM #1
JSONReader and nested arrays
JSONReader and nested arrays
Hi,
I am returning json data from the server as :
I am not sure how to setup the json reader to properly consume the observations ...Code:[{"id" : "1", "name" : "test", "observations" : [{ "id" : "1", "name" : "obs1"}, { "id" : "2", "name" : "obs2"}] },{"id" : "2", "name" : "test2", "observations" : [{ "id" : "1", "name" : "obs1"}, { "id" : "2", "name" : "obs2"}] }]
Any help is greatly appreciated.
Thanks,
Mujahid
-
16 Jul 2007 11:50 AM #2
Please search before posting. It's not supported natively, but here's a thread with a proposed extension http://extjs.com/forum/showthread.php?t=4537
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
16 Jul 2007 1:14 PM #3
My bad; thanks for the link.
-Mujahid


Reply With Quote