The JSON object I\'m receiving looks like this:
[{\"foo1\":\"bar1\", \"foo2\":\"bar2\", \"problemkey\": \"problemvalue\"}]
What I\'m trying
I have added isEmpty() methods on JSONObject and JSONArray()
//on JSONObject public Boolean isEmpty(){ return !this.keys().hasNext(); }
...
//on JSONArray public Boolean isEmpty(){ return this.length()==0; }
you can get it here https://github.com/kommradHomer/JSON-java