This is my Object
var data = {
a:{\"0\": \"1\"},
b:{\"1\": \"2\"},
c:{\"2\": \"3\"},
d:{\"3\": \"4\"}
};
This is the output
You would have to give a name to each value in the object.
Once you fix the first object, then you can do it using push.
var data = {
1: {"0": "1"},
2: {"1": "2"},
3 : {"2": "3"},
4: {"3": "4"}
};
var ar = [];
for(item in data){
ar.push(data[item]);
}
console.log(ar);
http://jsfiddle.net/nhmaggiej/uobrfke6/