UbuntuPenguin
3 Aug 2012, 9:35 AM
Hello Everyone,
I have service that returns JSON which I then use Ext.create( 'Someap.model.somemodel' ). I've noticed and read that the associated nested JSON however will not be turned into objects. I was wondering what the accepted way of dealing with this conundrum is. Especially in light of the fact that some of my functions may not know that the object was loaded through a store, thereby leading to the associated objects being deserialized and other objects may be loaded through a JSON service leading to the associations being serialized.
Any help is greatly appreciated.
I have service that returns JSON which I then use Ext.create( 'Someap.model.somemodel' ). I've noticed and read that the associated nested JSON however will not be turned into objects. I was wondering what the accepted way of dealing with this conundrum is. Especially in light of the fact that some of my functions may not know that the object was loaded through a store, thereby leading to the associated objects being deserialized and other objects may be loaded through a JSON service leading to the associations being serialized.
Any help is greatly appreciated.