Let\'s say I have an object:
[ { \'title\': \"some title\" \'channel_id\':\'123we\' \'options\': [ {
What worked for me was this lazy approach, not algorithmically lazy ;)
if( JSON.stringify(object_name).indexOf("key_name") > -1 ) { console.log("Key Found"); } else{ console.log("Key not Found"); }