Replies: 1 comment 6 replies
-
|
-1 from me. In general having to add (de)serializers manually should not be common thing to do (over using shared modules). So I don't necessarily even want beginners to use that path unless other mechanisms fail. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently it is done like this:
I believe this pattern of "call
addModule, then create aSimpleModule, then add (de)serializers on that" is not very intuitive or discoverable, especially for beginners.Would it be possible to provide a more "direct" way of doing this, perhaps either by
addSerializer/addDeserializer/... methods onJsonMapper, or bySetupContextforJacksonModulesub-classes) that provides such an API?What do you think?
Thanks,
Simon
Beta Was this translation helpful? Give feedback.
All reactions