Cómo verificar si un objeto JSON contiene una clave en jQuery
if(myObject.hasOwnProperty('key_name')){
console.log('Key exists in Object!');
}
Strange Snake
if(myObject.hasOwnProperty('key_name')){
console.log('Key exists in Object!');
}