JSON.stringify(list) //json转字符串 JSON.parse(jsonstr) //字符串转json 转载于:https://www.cnblogs.com/zhangjunlong/p/10278590.html