Skip to content

Conversation

fjtirado
Copy link
Collaborator

@fjtirado fjtirado commented Oct 2, 2025

Fix #840

By default, the internal object mapper will call findAndRegisterModules. If this is not the desired behaviour, implementors might replace it by a custom object mapper of their choice

The ObjectMapperFactory can be set at any time, but it has to always return the same intance.

See #846 for alternative proposal that does the same but not force the factory to return always the same instance.

@fjtirado fjtirado requested a review from ricardozanini October 2, 2025 10:37
By default, the internal object mapper will call findAndRegisterModules.
If this is not the desired behaviour, implementors might replace it by
a custom object mapper of their choice, either using ServiceLoader or
explicit static call.

Signed-off-by: fjtirado <ftirados@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow customizing the SDK’s Jackson ObjectMapper (JsonUtils) for lifecycle/CE serialization

1 participant