try { JSONObject jsonObject = new JSONObject(result); } catch (JSONException e) { e.printStackTrace(); }