title: How to Parse this json object nested in json array
body: <p>I am using this code</p>
  
  <pre><code>private void parseData(JSONArray array){
          Log.d(TAG, "Parsing array");
  
  
          for(int i = 0; i&lt;array.length(); i++) {
              bookItems bookItem = new bookItems();
              JSONObject jsonObject = null;
              try {
                  jsonObject = array.getJSONObject(i);
  
                  JSONObject bookChapter = jsonObject.getJSONObject("chapter");
                  bookItem.setbook_subtitle(bookChapter.getString("subtitle"));
  
                  JSONObject chapVerses = jsonObject.getJSONObject("verses");
                  JSONArray verseReaders = chapVerses.getJSONArray("readers");
                  JSONObject readersNum = verseReaders.getJSONObject("number");
                  verseReadNum = readersNum;
  
  
              } catch (JSONException w) {
                  w.printStackTrace();
              }
              mbookItemsList.add(bookItem);
  
          } 
  
      }
  </code></pre>
  
  <p>to  parse this json.</p>
  
  <pre><code>[
    {
      "chapter": {
        "subtitle": "Something happened in this in this chapter"
      },
      "verses": {
        "about": [
          {
            "In this verse, a lot of things happened yes a lot!"
          }
        ],
        "readers": [
          {
            "read": false,
            "number": "No body has read this verse yet"
          }
        ],
  
      }
    }, 
    ...]
  </code></pre>
  
  <p>I am getting the "subtitle" correctly but I am having didfficulty getting "number".</p>
  
  <p>From line <code>JSONObject readersNum = verseReaders.getJSONObject("number");</code> Android studio is complaining that <em>getJSONOBJECT (int) in JSONArray cannnot be applied to (java.lang.String)</em></p>
  
  <p>Please, how do I properly parse this?</p>