title: How to Access Child Item In JSON Array
body: <p>I am querying FlickR based on certain search terms, and the response is a JSON Array. Here is the root level along with the first two results:</p>
  
  <pre><code>{
   photos: {
     page: 1,
     pages: 4222,
     perpage: 100,
     total: "422175",
        photo: [
            {
            id: "28571356563",
            owner: "8372889@N03",secret: "c4ca6c4364",
            server: "8050",
            farm: 9,
            title: "95040021.jpg",
            ispublic: 1,
            isfriend: 0,
            isfamily: 0,
            url_m: "https://farm9.staticflickr.com/8050/28571356563_c4ca6c4364.jpg",
            height_m: "332",
            width_m: "500"
                 },
            {
            id: "28571342883",
            owner: "96125450@N00",
            secret: "db35a59412",
            server: "8307",
            farm: 9,
            title: "Red #Sunset #Silhouette #Trees #Photography",
            ispublic: 1,
            isfriend: 0,
            isfamily: 0,
            url_m: "https://farm9.staticflickr.com/8307/28571342883_db35a59412.jpg",
            height_m: "500",
            width_m: "424"
              },
  </code></pre>
  
  <p>When I load the results, I am going to iterate through all items (the "total" figure) and load into a RecyclerView. </p>
  
  <p>Ultimately, I want to iterate through the "photos" and then get the "url_m" for each photo. Here is my current call to the FlickR API through Retrofit:</p>
  
  <pre><code> Call&lt;List&lt;Photo&gt;&gt; call = apiInterface.getImages(mQuery);
              call.enqueue(new Callback&lt;List&lt;Photo&gt;&gt;() {
                  @Override
                  public void onResponse(Call&lt;List&lt;Photo&gt;&gt; call, Response&lt;List&lt;Photo&gt;&gt; response) {
  
                  }
  
                  @Override
                  public void onFailure(Call&lt;List&lt;Photo&gt;&gt; call, Throwable t) {
  
                  }
              });
  
          }
      });
  </code></pre>
  
  <p>How would I iterate through all photos and get the URL for each photo? I have my model classes set up for each that map exactly to the FlickR API JSON objects:</p>