JSON 陣列使用
const json = '[{"id":1,"name":"椅子"}]';
const items = JSON.parse(json);
console.log(items[0].name);
回到主頁