js //json字符串转json对象 var jsonObj= eval('(' + jsonStr + ')'); //json对象转json字符串 var jsonStr = JSON.stringify(jsonObj);