The JSON object I\'m receiving looks like this:
[{\"foo1\":\"bar1\", \"foo2\":\"bar2\", \"problemkey\": \"problemvalue\"}]
What I\'m trying
Object getResult = obj.get("dps"); if (getResult != null && getResult instanceof java.util.Map && (java.util.Map)getResult.isEmpty()) { handleEmptyDps(); } else { handleResult(getResult); }