You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Foo<Bar> foo = gson.fromJson(json, Foo.class);
currently produces compiler warning for unchecked conversion and needs
@SuppressWarnings("unchecked")
Explore revising gson.fromJson(String json, Class<? super T> classOfT) to get
rid of this warning.
Original issue reported on code.google.com by inder123 on 5 Oct 2010 at 1:53
The text was updated successfully, but these errors were encountered:
There's nothing we can do here. The type of List.class is Class<List>, not the
type we really want. The only typesafe option we have is to add an overload
that accepts a TypeToken, and we've already decided not to go that route.
Original comment by limpbizkit on 3 Nov 2010 at 3:19
There's nothing we can do here. The type of List.class is Class<List>, not the
type we really want. The only typesafe option we have is to add an overload
that accepts a TypeToken, and we've already decided not to go that route.
Original comment by limpbizkit on 3 Nov 2010 at 3:19
Original issue reported on code.google.com by
inder123
on 5 Oct 2010 at 1:53The text was updated successfully, but these errors were encountered: