open fun setModules(modules: MutableList<Module>): Unit
Set a complete list of modules to be registered with the ObjectMapper.
Note: If this is set, no finding of modules is going to happen - not by Jackson, and not by Spring either (see #setFindModulesViaServiceLoader). As a consequence, specifying an empty list here will suppress any kind of module detection.
Specify either this or #setModulesToInstall, not both.
Since
4.0
See Also
com.fasterxml.jackson.databind.Module