Hi,
I am trying to decode a json string in Sencha Ext JS 6 so that I can get the values inside the json to add to a data store. Below is what I have tried from the API documentation;
Code:
Ext.application({
name : 'Fiddle',
launch : function() {
var jsonString = "{\"Featured\": {\"Title\": \"Some title here.\"}";
var jsonObject = Ext.JSON.decode(jsonString);
Ext.Msg.alert(Ext.Object.getSize(jsonObject));
}
});
This however does not return any response. i.e. Nothing happens when I run it on fiddle.
What might I be missing?