I have an object like this:
{ "01":"111","02":"222","11":"AAA","12":"BBB"}
. But after JSON.parse, the object changed its order like {"11":"AAA","12":"BBB","01":"111","02":"222"}
. See http://jsfiddle.net/stxh/3WV8Y/
Code:
var str=JSON.parse('{"01":"111","02":"222","11":"AAA","12":"BBB"}');
alert( JSON.stringify(str) );
Can I keep the order from JSON.parse?