Serializing collections with type erasure java.lang.Object does not seem to be
possible, i.e. the generated string does contain the field name but it does not
contain the contents of the collection.
It is also not possible if the type erasure is omitted completely but in this
case, a
[java] java.lang.ClassCastException: com.google.gwt.core.ext.typeinfo.JRawType cannot be cast to com.google.gwt.core.ext.typeinfo.JParameterizedType
[java] at com.kfuntak.gwt.json.serialization.SerializationGenerator.generateTypeSerialization(SerializationGenerator.java:525)
is thrown.
So I'd suggest to add either an exception for the first case (type erasure is
Object), or, to implement this feature (if possible at all).
Version is 1.02.
Original issue reported on code.google.com by pa...@gmx.net on 18 Oct 2010 at 11:04
Original issue reported on code.google.com by
pa...@gmx.net
on 18 Oct 2010 at 11:04