code: public JSONObject parseToJson(HTTPResponse response) throws JSONException {
          // Set raw response
          this.response = response;
          // May throw JSONException
          return new JSONObject(response.body);
      }
docs: Parse HTTP response to JSONObject
  
  @param response  HTTP response
  @return JSONObject
  @throws JSONException  json parse exception