How get data before the data gets loaded into the store?
I am using Sencha Touch 2.0.x and Sencha Architect 2.1.x.
I would like to know how to get the raw data before the data gets loaded into the store.
This is for debug purposes, I would like to know if the result data from the store url request is json valid.
The webservice response (invalid json):
I would like to know how do I get this invalid json response before the response loads into the store.
Thus, I can see what data is being passed through before it gets loaded into the store.
I know I can use the web browser for debug, but I would like to monitor request calls without a web browser.
Thanks in Advance!
Hrm... I don't quite see an event that will do what you want. You essentially want to get the request before it goes to the reader.
In the data architecture, the proxy is responsible for the where and how and the reader is responsible for reading the format.
Take a look at overriding the getResponseData method of the Json reader.