EnumMap
cannot deserialize with type inclusion as property
#1932
Milestone
EnumMap
cannot deserialize with type inclusion as property
#1932
Hi,
I've seen many issues related to Enum keys but it looks like using an EnumMap with property inclusion has some issues.
Version 2.8.11
When using As.WRAPPER_ARRAY as the inclusion I am able to deserialize the Map, but using JsonTypeInfo.As.PROPERTY it throws an exception while deserializing. Here is the code to reproduce and the exception:
Running into this using the default codec provided by Redisson(redis java client).
https://github.com/redisson/redisson/blob/581a7ac60f665e1882b0e351bf6c20186e59313c/redisson/src/main/java/org/redisson/codec/JsonJacksonCodec.java#L142
The text was updated successfully, but these errors were encountered: