日期:2014-05-16  浏览次数:20388 次

【原】怎样把json转换成js数组对象
var obj = "([{name:'think',gender:'male'},{name:'lee',gender:'female'}])";
var ss = eval(obj);
alert(ss[0].name+","+ss[1].name);


?