title: Value null of type org.json.JSONObject$1 cannot be converted to JSONObject
body: <p>I'm getting this exception error when using the OpenWeatherMap API. I'm just trying to get the <em>result</em> to be an JSONObject, but <em>null</em> keeps coming up.</p>
  
  <pre><code>@Override
      protected void onPostExecute(String result) {
          super.onPostExecute(result);
  
          // What's coming in as result...
          // Printed to the console...
          // null{"coord":{"lon":-0.13,"lat":51.51},"weather":[{"id":800,"main":"Clear",
          // "description":"clear sky","icon":"01d"}],...}
  
  
          try {
              JSONObject jsonObject = new JSONObject(result);
              String weatherInfo = jsonObject.getString("weather");
  
              Log.i("Weather Info", weatherInfo);
          } catch (JSONException e) {
              e.printStackTrace();
          }
  
     }
  </code></pre>
  
  <p>The JSON data comes in fine but all I want is it to become a JSONObject but the null part is catching. Any Ideas why that might be happening?</p>
  
  <p>Also from the site the <code>JSON Response</code> coming in is:</p>
  
  <pre><code>{"coord":{"lon":-0.13,"lat":51.51},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],.....}
  </code></pre>
  
  <p>How come that doesn't have null at the start? 
  Thank you for your help.</p>