The JSON object I\'m receiving looks like this:
[{\"foo1\":\"bar1\", \"foo2\":\"bar2\", \"problemkey\": \"problemvalue\"}]
What I\'m trying
Use the following code:
if(json.isNull()!= null){ //returns true only if json is not null }