var testJson =
'{ "name": "小强", "age": 16 }'
;
var json = eval("("+data.replace(/<[^>]+>/g,"")+")");
var jsons = JSON.parse(data.replace(/<[^>]+>/g,""));
var jsons = JSON.parse(data.replace(/<[^>]+>/g,""));
testJson = $.parseJSON(testJson);
JSON.stringify(obj)将JSON转为字符串。