解決方法1:
if
(
typeof
(JSON) ==
'undefined'
)
eval(
字符串
);
else
var
a = JSON.parse(
解決方法2: (1/30 新增)下载Douglas Crockford 的 json2.js
引用即可解决问题(推荐方法2)