private CurrentTopic parseResponseJson(String json) { try { JSONObject obj = new JSONObject(json); String id = obj.getString("id"); String text = obj.getString("text"); return CurrentTopic.create(id, text); } catch (JSONException e) { throw new RuntimeException(e); } }