Closed GoogleCodeExporter closed 9 years ago
You need to use the two-arg form of Gson.toJson():
new Gson().toJson(o, new TypeToken<<Dummy3<String>>() {});
Otherwise GSON doesn't have the type information that it needs to do a good job.
Original comment by limpbizkit
on 2 Aug 2011 at 6:22
Original issue reported on code.google.com by
konrad.g...@gmail.com
on 1 Aug 2011 at 4:05