iloveoracle 发表于 2013-2-3 10:34:42

javascript字符串转json对象

var str='{"a":"b"}'; str=eval('('+str+')')alert(str.a);
页: [1]
查看完整版本: javascript字符串转json对象