The JSON object I\'m receiving looks like this:
[{\"foo1\":\"bar1\", \"foo2\":\"bar2\", \"problemkey\": \"problemvalue\"}]
What I\'m trying
For this case, I do something like this:
var obj = {}; if(Object.keys(obj).length == 0){ console.log("The obj is null") }