JsonSerializable has a few interesting return types. getHashMap() returns a HashMap, when one would expect it to be Map, and the getCollection(...) methods return Collection, when one might expect a List or Set.
(Collection should actually be fine as it is an interface)
Let's go with renaming the methods and fixing return types
JsonSerializable has a few interesting return types. getHashMap() returns a HashMap, when one would expect it to be Map, and the getCollection(...) methods return Collection, when one might expect a List or Set.
(Collection should actually be fine as it is an interface)
Let's go with renaming the methods and fixing return types