title: Parsing simple json response from Volley
body: <p>I am trying parse a JSON response from Volley.</p>
  
  <p>My "response" parameter  is: 
  <code>{"result":["{\"success\":\"false\"}"]}</code></p>
  
  <p>I am getting an error at: <code>JSONObject jo=ja.getJSONObject(0); //Error here</code></p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>public void onResponse(JSONObject response) {
                  try {
                      JSONArray ja = response.getJSONArray("result");
                      JSONObject jo=ja.getJSONObject(0); //Error here
                      String rst=jo.getString("success");
                      if (rst.equals("true")) {
                               ///do something
                      } else{
                             ///do something
                      }
  
                  } catch (JSONException e) {
                      // TODO Auto-generated catch block
                      e.printStackTrace();
                  }
  </code></pre>