I have a json which has a tag "msg" . Now if search results are shown in json then this tag is not there and when search results are 0 then this tag comes with value not found.
Now i want to keep a check whether this tag is present or not. So how to do so
Here is the sample of json when no records found :
{"product":[{"msg":"Not Found"}]}