Closed GoogleCodeExporter closed 9 years ago
I'm sorry for not being available to answer your concern previously. I'm sure
you already found a workaround.
Gson does not deserialize back to the same type, but rather generic types that
it thinks comply to the same interface (Map in this case). If it had worked
silently that could have been very problematic for you, as you would have had
an unbounded non-thread-safe map. In this scenario, a custom TypeAdapter would
be the preferred solution.
Original comment by Ben.Manes@gmail.com
on 15 Dec 2014 at 8:27
Original issue reported on code.google.com by
zhangwei...@gmail.com
on 17 Jan 2014 at 10:07