Created
January 15, 2019 11:46
-
-
Save jieniu/bf2179bdab56e4d57ef1f1bbf00b7d37 to your computer and use it in GitHub Desktop.
gson->fromJson(List)
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
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