JsonSerialization does not load all available modules from the classpath #16295
Closed
Description
Description
The ObjectMapper created provides only the default modules for serialization/deserialization, i.e. the module supporting serialization/deserialization for java datetime class is not loaded even if it is on the classpath.
This could be easily enhanced by adding
mapper.findAndRegisterModules();
in the static initializer for all the different ObjectMapper instances. Just a small change which would make life much easier.
Discussion
No response
Motivation
No response
Details
No response