Jak sprawdzić, czy obiekt JSON zawiera klucz w 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!');
}