Skip to content

Instantly share code, notes, and snippets.

@jieniu
Created January 15, 2019 11:46
Show Gist options
  • Save jieniu/bf2179bdab56e4d57ef1f1bbf00b7d37 to your computer and use it in GitHub Desktop.
Save jieniu/bf2179bdab56e4d57ef1f1bbf00b7d37 to your computer and use it in GitHub Desktop.
gson->fromJson(List)
List<Student> retList = gson.fromJson(s2,
new TypeToken<List<Student>>() {
}.getType());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment