js对象转到字符串

var str = JSON.stringify(obj);
原文地址:https://www.cnblogs.com/iack/p/3505957.html