📌  相关文章
📜  在javascript代码示例中将数据转换为json格式

📅  最后修改于: 2022-03-11 15:01:58.280000             🧑  作者: Mango

代码示例2
Use the JavaScript function JSON.parse() to convert text into a JavaScript object:
var obj = JSON.parse('{ "name":"John", "age":30, "city":"New York"}');