javascript check json object is null

Сайт советов и инструкций

javascript check json object is null

 

 

 

 

The above is the JSON object Im dealing with. I want to check if the merchantid key exists. I tried the below code, but its not working.