Created
July 20, 2018 13:26
-
-
Save ssaurel/2dbb2501dbe697f05765af399cd4bdbc to your computer and use it in GitHub Desktop.
Parse JSON to Java Objects with Fastjson on the SSaurel's Blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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