Json 데이터에 호출하려는 키값이 있는지 확인하는 방법에는 아래의 5가지가 있습니다 (제가 아는 기준) let test = {type:"유형", name:"이름"} console.log("1. 프로퍼티체크 (json.hasOwnProperty[키값])"); console.log("있는 경우(type) : " + test.hasOwnProperty("type")); console.log("없는 경우(price) : " + test.hasOwnProperty("price")); console.log("2. 직접호출1 (json[키값] != undefined)"); console.log("있는 경우(type) : " + (test["type"] != undefined)); console.log("없는 경우(..