javascript下的json 序列化及反序列化 1、序列化将json对象转为字符串:JSON.stringify(jsonObj)2、反序列化var jsonObj = eval("(" + jsonstring + ")");