摘要: 具体示例 //代码 console.log(JSON.stringify({ x: 5, y: 6 },null,2)); //输出结果 { "x": 5, "y": 6 } JSON.stringify() 介绍 JSON.stringify()方法将一个JavaScript对象或值转换为JSON 阅读全文
posted @ 2022-03-29 20:11 AmyZYX 阅读(2204) 评论(0) 推荐(0) 编辑