I\'m consuming an API from my android app, and all the JSON responses are like this:
{ \'status\': \'OK\', \'reason\': \'Everything was fine\', \
Another simple solution:
JsonObject parsed = (JsonObject) new JsonParser().parse(jsonString); Content content = gson.fromJson(parsed.get("content"), Content.class);