js复制json对象

var newJson = JSON.parse(JSON.stringify(json对象));
原文地址:https://www.cnblogs.com/xiaostudy/p/11096834.html