-
-
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
Custom SimpleModule
not included in list returned by ObjectMapper.getRegisteredModuleIds()
after registration
#3110
Comments
Hmmh. This is somewhat interesting. First of all, I think that First, there is feature I will add a note on Javadoc of In your case you can sub-class |
SimpleModule
not included in list returned by ObjectMapper.getRegisteredModuleIds()
after registration
Thanks @cowtowncoder -- Your suggestions did in fact work |
Changed it so that if (and only if) code specifies explicit |
Ended up rewriting some aspects and now ALL modules should actually be listed, including "anonymous" |
Describe the bug
I'm trying to register a
SimpleModule
that simple uses some custom serializers and deserializers I need. Based on the output ofmapper.registeredModuleIds
, it doesn't appear that the module is being registered to the mapper.Version information
2.12.2
To Reproduce
Expected behavior
The SimpleModule is registered and appears in the output of
registeredModuleIds
The text was updated successfully, but these errors were encountered: