Uziel Sulkies
10/30/2019, 11:59 AMdiesieben07
10/30/2019, 12:02 PMnull
is still a value in the map.Uziel Sulkies
10/30/2019, 12:06 PMdiesieben07
10/30/2019, 12:08 PMMap<String, Any>
to Map<String, String>
and then get an exception at runtime when you try to use the values as strings.arekolek
10/31/2019, 11:04 AMThe problem is when a json map with null value is deserialized into Map<String, String> which is not type-safe.I’ve seen that problem with Gson. On the other hand moshi-kotlin works with non-nullable types properly.
Map
🤔