Open
Description
When a class contains a field with a vavr interface type, e.g. Map
, Gson can't deserialize it, as it needs a certain implementation of Map
. Often a particular implementation (like HashMap
) would be a good default for the majority of classes, so one could just register a TypeHierarchyAdapter
using a HashMap
to deserialize a Map
field. Such TypeHierarchyAdapter
s could be part of the library (but not registered in VavrGson
, just as additional helpers).