class MarvelRequestParser {

    public static String getItemThumbnailUrl(JSONObject object) throws JSONException {
        Gson gson = new Gson();
        return gson.fromJson(((JSONObject) object.getJSONObject("data").getJSONArray("results").get(0)).getJSONObject("thumbnail").toString(), Thumbnail.class).getUrl();
    }

}