cara memeriksa apakah objek JSON berisi kunci di jQuery

if(myObject.hasOwnProperty('key_name')){

   console.log('Key exists in Object!');

}
Strange Snake