public JSONObject parseToJson ( HTTPResponse response ) throws JSONException { // Set raw response this . response = response ; // May throw JSONException return new JSONObject ( response . body ) ; }
Parse HTTP response to JSONObject