using json.js from http://www.json.org/json.js
for array with the string keys
var test = new Array;
test["i1"]="v1";
test["i2"]="v2";
test["i3"]="v3";
var test_text = JSON.parse(stringify);
//test_text: []
if dim test as object, the json act as your expected.
var test = new Object;
浙公网安备 33010602011771号