Skip to content

Instantly share code, notes, and snippets.

@jasdev
Created August 2, 2012 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasdev/3233676 to your computer and use it in GitHub Desktop.
Save jasdev/3233676 to your computer and use it in GitHub Desktop.
Pardon the brevity
for(int i = 0; i < badges.length(); i++){
badgeList.add(new Badge(((JSONObject) (badges.get(i))).getString("name"), ((JSONObject) (badges.get(i))).getString("description"), ((JSONObject) (badges.get(i))).getString("id")));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment