批改状态:合格
老师批语:
const user = {id:1,name:'测试',price:100,};console.log(user);let json = JSON.stringify(user);console.log(json);

let str = `{"id": 1,"name": "测试","price": 100}`;let item = JSON.parse(str);console.log(item);

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号