title: Extract Images from JSON Object
body: <p>I am fetching the most popular movies from an api, and I am trying to get the poster images for each movie. To do so I need to extract the <strong>poster_path</strong> parameter from the json string.    </p>
  
  <p>This is my code to extract information from the JSON string:   </p>
  
  <pre><code>final String OWM_RESULTS = "results";
  final String OWM_POSTERPATH = "poster_path";
  
  String aux;
  
  // movieJSONstr is the string with the full http request
  JSONObject movieJson = new JSONObject(movieJSONstr);
  JSONArray movieArray = movieJson.getJSONArray(OWM_RESULTS);
  
  for(int i = 0; i &lt; movieArray.length(); i++) {
      JSONObject movieObj = movieArray.getJSONObject(i);
      aux = movieObj.getString(OWM_POSTERPATH);
      Log.v("AUX: ", aux);
  }
  </code></pre>
  
  <p>The JSON string looks something like this:  </p>
  
  <pre><code>{
  "page":1,
  "results":[
    {
       "adult":false,
       "backdrop_path":"/tbhdm8UJAb4ViCTsulYFL3lxMCd.jpg",
       "genre_ids":[
          53,
          28,
          12
       ],
       "id":76341,
       "original_language":"en",
       "original_title":"Mad Max: Fury Road",
       "overview":"An apocalyptic story set in the furthest reaches of our planet, in a stark desert landscape where humanity is broken, and most everyone is crazed fighting for the necessities of life. Within this world exist two rebels on the run who just might be able to restore order. There's Max, a man of action and a man of few words, who seeks peace of mind following the loss of his wife and child in the aftermath of the chaos. And Furiosa, a woman of action and a woman who believes her path to survival may be achieved if she can make it across the desert back to her childhood homeland.",
       "release_date":"2015-05-15",
       "poster_path":"/kqjL17yufvn9OVLyXYpvtyrFfak.jpg",
       "popularity":46.603256,
       "title":"Mad Max: Fury Road",
       "video":false,
       "vote_average":7.6,
       "vote_count":2296
    }]
  }
  </code></pre>
  
  <p>Assuming that the JSONObject does indeed have the images, how can I extract them and convert them into something I can manipulate like an instance of Drawable?</p>