Skip to content

Instantly share code, notes, and snippets.

@windless
Created October 2, 2014 08:29
Show Gist options
  • Select an option

  • Save windless/f9048232882d8d7972db to your computer and use it in GitHub Desktop.

Select an option

Save windless/f9048232882d8d7972db to your computer and use it in GitHub Desktop.

Revisions

  1. windless created this gist Oct 2, 2014.
    3 changes: 3 additions & 0 deletions json_to_list.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    List<Student> retList = gson.fromJson(s2,
    new TypeToken<List<Student>>() {
    }.getType());