The Javadoc documentation for the class is eating some < characters:
Type listType = new TypeToken>() {}.getType();
List target = new LinkedList();
...
List target2 = gson.fromJson(json, listType);
It should be:
Type listType = new TypeToken<List<String>>() {}.getType();
List<String> target = new LinkedList<String>();
...
List<String> target2 = gson.fromJson(json, listType);
Original issue reported on code.google.com by australi...@gmail.com on 2 Sep 2009 at 2:22
Original issue reported on code.google.com by
australi...@gmail.com
on 2 Sep 2009 at 2:22