question: protected JSONObject readInputStream ( InputStream is ) throws IOException { String jsonString = readStreamToString ( is ) ; JSONObject jsonObject ; try { return new JSONObject ( jsonString ) ; } catch ( JSONException error ) { throw new IOException ( error . toString ( ) ) ; } }
target:  Helper method to read an HTTP response.