This is my Object
var data = { a:{\"0\": \"1\"}, b:{\"1\": \"2\"}, c:{\"2\": \"3\"}, d:{\"3\": \"4\"} };
This is the output
I get what you want ! Here is your solution,
var dataObject=[{name:'SrNo',type:'number'}];
And to access or store the array use
dataObject[0].srno=1; dataObject[0].srno=2;
Hope this is what you needed.