Hello,
in most of cases a value of enumeration property fails to deserialize. Value is
stored in json itself, but is missing (set to null) in resulting deserialized
object. Other values (primitives, strings, lists) are being deserialized just
fine.
What steps will reproduce the problem?
1. Send object having enumeration property(-ies) set to valid value (like for
instance MyEnum.ITEM1) over the wire.
2. Gwtprojsonserializer fails to pickup value from json and translate value
accordingly.
3. Experience null value at place where MyEnum.ITEM1 was expected.
Can't really find any pattern here. It's almost absurd: a very same enumeration
type put at two places (properties named differently on the same object) and
after deserialization attempt, one property gets deserialized while other comes
out as null.
GWT 2.3
gwtprojsonserializer-1.0.4
gson-1.7.1
Tomas
Original issue reported on code.google.com by mr.tomas...@gmail.com on 17 Aug 2011 at 4:45
Original issue reported on code.google.com by
mr.tomas...@gmail.com
on 17 Aug 2011 at 4:45