title: Android : java.lang.String cannot be converted to JSONArray
body: <p>I am getting <code>json</code> Exception while trying to parse a string to jsonArray. I am using <code>loopj</code> method for <code>json</code> Parsing. This is the error :</p>
  
  <pre><code>java.lang.String cannot be converted to JSONArray
  </code></pre>
  
  <p>And this is the json I am trying to parse :</p>
  
  <pre><code>[{\"displayName\":\"Thiruvananthapuram\",\"desc\":\"Partly cloudy\",\"cloudCover\":\"5\",\"dateTime\":\"Sunday October 02\",\"humidity\":\"85\",\"visibility\":\"10\",\"tempCelcius\":\"29\",\"iconClass\":\"PartlyCloudy-s\"}]
  </code></pre>
  
  <p>My code is</p>
  
  <pre><code>    AsyncHttpClient client = new AsyncHttpClient();
     client.get("url", new AsyncHttpResponseHandler() {
      @Override
          public void onSuccess(int statusCode, Header[] headers, byte[] responseBody) {
  
          try {
          String jsonStr = new String(responseBody, "UTF-8");
          Log.e("Tag ", "on Result " + jsonStr);
          JSONArray jsonarray = new JSONArray(jsonStr);
                  Log.e("Tag ", "jsonArr length " + jsonarray.length());
          }
          catch (UnsupportedEncodingException e)
          {
            e.printStackTrace();
          }
          catch (Exception e)
          {
            e.printStackTrace();
              }
          }
          @Override
          public void onFailure(int statusCode, Header[] headers, byte[] responseBody, Throwable error) {
          }
      })
  </code></pre>