Skip to content

Instantly share code, notes, and snippets.

@jy2k
Last active November 23, 2015 22:41
Show Gist options
  • Save jy2k/671fa7bf8a750cff11ac to your computer and use it in GitHub Desktop.
Save jy2k/671fa7bf8a750cff11ac to your computer and use it in GitHub Desktop.
This is the proper way to parse the response from the JSON
String body = response.body().string();
JSONObject jsonObject = new JSONObject(body);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment