I have a json output as
amt: "10.00"
email: "sam@gmail.com"
merchant_id: "sam"
mobileNo: "9874563210"
orderID: "123456"
passkey: "1234"
Literally Im trying to do this in javascript
if(the json output has the key merchant_id)
{
//do something
}
How is it possible to find if a json output has a key like as I demonstrated above?Is it possible,Or is there any alternate method for it?