title: Why can´t I convert a String to JSON object in Android?
body: <p>I´m receaving an array from php to android and I receive the following format in an String:</p>
  
  <pre><code>["Rick","Anne","Carl"]
  </code></pre>
  
  <p>but when I execute:</p>
  
  <pre><code> JSONObject myjson = new JSONObject(the_json);
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code> org.json.JSONException: Value ["Rick","Anne","Carl"] of type org.json.JSONArray cannot be converted to JSONObject
  </code></pre>
  
  <p>why? I send the array fom php with</p>
  
  <pre><code> echo json_encode($arreglo);
  </code></pre>
  
  <p>I suppose this sentence send the stream with the correct format, no?</p>