Add ability to automatically use Micronaut's JsonMapper
abstraction for Hibernate's FormatMapper for JSON
#2908
Labels
type: enhancement
New feature or request
JsonMapper
abstraction for Hibernate's FormatMapper for JSON
#2908
Feature description
We should be able to allow Hibernate to use the managed JSON mapper from Hibernate, by default it autodetects either Jackson or JSON-B and instantiates it. In the case of Jackson it calls
findModules
which results in a classpath scan that sucks for performance.Here is some code that does it (needs tests and cleanup):
The text was updated successfully, but these errors were encountered: