javascript JSON 함수
JSON 문자열을 Object로 변환하기
let jsonStr = '{"name": "PARKER", "age": "22"}'
let obj = JSON.parse(jsonStr)
console.log(obj.name)
console.log(obj.age)
Object를 JSON 문자열로 변환하기
let obj = { name: "PARKER", age: 22 }
let jsonStr = JSON.stringify(obj)
console.log(jsonStr)