title: creating a JSONObject from InputStreamReader
body: <p>I want to create a JSONObject object from the URL's content, 
  so I am getting the URL content from the google APIs, that's the result:</p>
  
  <pre><code>"results" : [
        {
           "address_components" : [
              {
                 "long_name" : "29",
                 "short_name" : "29",
                 "types" : [ "street_number" ]
              },
              {
                 "long_name" : "Jean",
                 "short_name" : "Jean",
                 "types" : [ "route" ]
              },
              {
                 "long_name" : "Toulouse",
                 "short_name" : "Toulouse",
                 "types" : [ "locality", "political" ]
              },
              {
                 "long_name" : "Haute-Garonne",
                 "short_name" : "31",
                 "types" : [ "administrative_area_level_2", "political" ]
              },
              {
                 "long_name" : "Midi",
                 "short_name" : "Midi",
                 "types" : [ "administrative_area_level_1", "political" ]
              },
              {
                 "long_name" : "France",
                 "short_name" : "FR",
                 "types" : [ "country", "political" ]
              },
              {
                 "long_name" : "31000",
                 "short_name" : "31000",
                 "types" : [ "postal_code" ]
              }
           ],
           "formatted_address" : "99 Jean , 31900 Toulouse, France",
           "geometry" : {
              "location" : {
                 "lat" : 43.6069496,
                 "lng" : 1.4498134
              },
              "location_type" : "ROOFTOP",
              "viewport" : {
                 "northeast" : {
                    "lat" : 43.6082985802915,
                    "lng" : 1.451162380291502
                 },
                 "southwest" : {
                    "lat" : 43.6056006197085,
                    "lng" : 1.448464419708498
                 }
              }
           },
           "place_id" : "ChIJTSvW45i8rhIRu8OEgnpnZMY",
           "types" : [ "street_address" ]
        }
     ],
     "status" : "OK"
  }
  </code></pre>
  
  <p>I would like to create a JSONObject from this content , something like </p>
  
  <pre><code>JSONObject obj = JSONObject.fromObject(urlConnection.getInputStream());
  </code></pre>
  
  <p>but checking the size of this object is 0</p>