title: Value of type java.lang.String cannot be converted to JSONArray
body: <p>I've spent 2 days to find a solution with of problem.</p>
  
  <p>Here is the error: </p>
  
  <pre><code>E/log_tag: Error parsing data org.json.JSONException: Value of type java.lang.String cannot be converted to JSONArray
  </code></pre>
  
  <p>Here is JSON:</p>
  
  <pre><code>[
  {
      "Id": "5207fc6473516724343ce7a5",
      "Name": "Эриван",
      "Types": [
          "Ресторан"
      ],
      "Latitude": 53.904752,
      "Longitude": 27.521095,
      "OperatingTime": [
          {
              "Day": 1,
              "Start": "10:00:00",
              "Finish": "23:00:00"
          },
          {
              "Day": 2,
              "Start": "10:00:00",
              "Finish": "23:00:00"
          },
          {
              "Day": 3,
              "Start": "10:00:00",
              "Finish": "23:00:00"
          },
          {
              "Day": 4,
              "Start": "10:00:00",
              "Finish": "23:00:00"
          },
          {
              "Day": 5,
              "Start": "10:00:00",
              "Finish": "23:00:00"
          },
          {
              "Day": 6,
              "Start": "08:00:00",
              "Finish": "23:00:00"
          },
          {
              "Day": 0,
              "Start": "08:00:00",
              "Finish": "23:00:00"
          }
      ],
      "IsBookingAvailable": false
  }]
  </code></pre>
  
  <p>Class for getting String value:</p>
  
  <pre><code> public class JSONGet {
  
      public static String getJSONfromURL(String url){
          InputStream is = null;
          String result = "";
          JSONArray jArray = null;
  
          // Download JSON data from URL
          try{
              HttpClient httpclient = new DefaultHttpClient();
              HttpPost httppost = new HttpPost(url);
              HttpResponse response = httpclient.execute(httppost);
              HttpEntity entity = response.getEntity();
              is = entity.getContent();
  
          }catch(Exception e){
              Log.e("log_tag", "Error in http connection "+e.toString());
          }
  
          // Convert response to string
          try{
              BufferedReader reader = new BufferedReader(new InputStreamReader(is,"UTF-8"),8);
              StringBuilder sb = new StringBuilder();
              String line = null;
              while ((line = reader.readLine()) != null) {
                  sb.append(line + "\n");
              }
              is.close();
              result = sb.toString();
          }catch(Exception e){
              Log.e("log_tag", "Error converting result "+e.toString());
          }
  
          try{
  
              jArray = new JSONArray(result);
          }catch(JSONException e){
              Log.e("log_tag", "Error parsing data "+e.toString());
          }
  
          return result;
      }
    }
  </code></pre>
  
  <p>And here is converting to JSONArray:</p>
  
  <pre><code>String jsonObjRecv = JSONGet.getJSONfromURL(URL_LIST);
  
  JSONArray jsonArr = new JSONArray(jsonObjRecv);
  </code></pre>
  
  <p>I was trying to get Json object then convert it into Json array but I received the same error.</p>