JSON data parsing issue in Andorid

I’m trying to get some data form the Guardian API. I keep getting a parse error with my code.

{  
"response":{  
    "status":"ok",
    "userTier":"developer",
    "total":13662,
    "startIndex":1,
    "pageSize":10,
    "currentPage":1,
    "pages":1367,
    "orderBy":"relevance",
    "results":[  
        {  
            "id":"news/2018/jul/18/debate-continues-over-labours-code-on-antisemitism",
            "type":"article",
            "sectionId":"news",
            "sectionName":"News",
            "webPublicationDate":"2018-07-18T17:10:48Z",
            "webTitle":"Debate continues over Labour’s code on antisemitism | Letters",
            "webUrl":"https://www.theguardian.com/news/2018/jul/18/debate-continues-over-labours-code-on-antisemitism",
            "apiUrl":"https://content.guardianapis.com/news/2018/jul/18/debate-continues-over-labours-code-on-antisemitism",
            "fields":{  
                "headline":"Debate continues over Labour’s code on antisemitism"
            },
            "isHosted":false,
            "pillarId":"pillar/news",
            "pillarName":"News"
        },

This is a block of the JSON file. The fields I am interested in are “sectionName”, “webPublicationDate”, “webTitle”, “webUrl” and “headline”. Below is the code for parsing it:

try {
        JSONObject baseJsonResponse = new JSONObject(newsJSON);
        JSONArray newsArray = baseJsonResponse.getJSONArray("response");
        for(int i = 0; i < newsArray.length(); i++) {
            JSONObject currentNews = newsArray.getJSONObject(i);
            JSONObject details = currentNews.getJSONObject("results");

            String header = details.getString("webTitle");
            String section = details.getString("sectionName");
            long date = details.getLong("webPublicationDate");
            String url = details.getString("webUrl");

            JSONObject detailHeadline = currentNews.getJSONObject("fields");

            String headline = detailHeadline.getString("headline");

            pojo pojo = new pojo(headline, header, section, date, url);
            newsPojo.add(pojo);
        }
    } catch (JSONException e){
        Log.e(LOG_TAG, "Problem parsing the news JSON results", e);
    }
    return newsPojo;

I keep getting the error "Problem parsing the news JSON results" in the log.

All topic