<script>
var str = Obj.toJSONString();//json.js
//等同于
var str = JSON.stringify(obj);//json2.js
</script>
json.js和json2.js区别
最新推荐文章于 2022-04-09 14:44:26 发布
<script>
var str = Obj.toJSONString();//json.js
//等同于
var str = JSON.stringify(obj);//json2.js
</script>