-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map key deserializerModifiers ignored #1445
Comments
Thank you for reporting this. Couple of questions first:
|
Version is 2.8.4. I had also been running with 2.6.4, which had the same issue, and upgraded as part of my digging. |
Thank you for verifying this. Being able to test with JDK collections makes it bit easier to repro with just databind. |
Fast! Thank you very much. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a module that extends simple model to allow us to accept enum names in lower case in a fairly generic manner
Inside that we add the
modifyKeyDeserializer
The incoming class (using immutables) is mapped to a guava immutable map.
Walking through the code:
which has the code:
Since we are an enum type, it returns the value in the
_createEnumKeyDeserializer
, which is the standard enum deserializer.Below that block is the check for the hasDeserializerModifiers, but since we have returned already, it is never called, so we can't override the behaviour.
Module fragment:
I appreciate the code around here is fairly complex.
Related issues (possibly):
#749
#1313
The text was updated successfully, but these errors were encountered: