I am defining a writer object like this:
In this code getRecordData is never run and my alert is never fired.
alert("i was here");
Now i have also learned that having my own class which extende the Ext.data.reader.Json and then using its alias in my code would work. All i do then is define outside the config object in my class.
So my question is how to define my own methods when i am instantiating an object in the style I have given above?