js Json与对象、数组转化

对象、数组转json

json = JSON.stringify(obj)

json 转对象、数组

arr = JSON.parse(json)
原文地址:https://www.cnblogs.com/zsczsc/p/9563223.html