Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created July 20, 2018 13:26
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 ssaurel/2dbb2501dbe697f05765af399cd4bdbc to your computer and use it in GitHub Desktop.
Save ssaurel/2dbb2501dbe697f05765af399cd4bdbc to your computer and use it in GitHub Desktop.
Parse JSON to Java Objects with Fastjson on the SSaurel's Blog
public Groups decode(String json) {
// Decode JSON in String format and bind it in Groups Java POJO Hierarchy
return JSON.parseObject(json, Groups.class);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment