I've got usual JS array of ints.
put it into object, and put that object into another object

example:
Code:
var scales = [1 ,2, 3 ,4 ,5 ];
var obj1 = {scales: scales};
var obj2 = {mapObject: obj1};
I did Ext.Encode on obj2, and it works as expected in FF6.
PHP Code:
"scales":[35000,25000,15000,12000,10000,7500,5000,4000,3000,2000,1500,1000,750,500,250,150
In IE9 it produces something like this: (I paste only the part with scales array
\"scales\":{\"0\":35000,\"1\":25000,\"2\":15000,\"3\":12000,\"4\":10000,\"5\":7500,\"6\":5000,\"7\":4000,\"8\":3000,\"9\":2000,\"10\":1500,\"11\":1000,\"12\":750,\"13\":500,\"14\":250,\"15\":150}
So it's an object now with keys ordered from 0 to 16, and it blows up my following code.
What can we do about it?

greetz
denu