The current default behaviour of the json-jackson data format is to try to lookup an ObjectMapper instance to the registry and if not found to create a new one.
In case one is found, the data format instance does customize it according to its local properties but as the same ObjectMapper instance could be shared among different json-jackson data formats, it may lead to inconsistencies or unpredictable behaviors.
It would be nice to either:
- disable auto discovery by default so user can opt in
- if an ObjectMapper is given or found from the registry, discard local customizations and log a warning/throw an error