I wanted to use JacksonMixInAnnotations to customize the serialization of JSON objects which I cannot control via annotations. It means I need access to the objectMapper instance.
Objectmapper is available via the getObjectMapper method implemented by JacksonJsonEngine.
If I want to override it, do I need to duplicate the JacksonBaseEngine code from pippo-jackson and then add another service initializer? I think I cannot include the pippo-jackson jar because it will cause JacksonJsonEngine to be loaded with the default objectMapper?
Thank you,
I wanted to use JacksonMixInAnnotations to customize the serialization of JSON objects which I cannot control via annotations. It means I need access to the objectMapper instance.
Objectmapper is available via the getObjectMapper method implemented by JacksonJsonEngine.
If I want to override it, do I need to duplicate the JacksonBaseEngine code from pippo-jackson and then add another service initializer? I think I cannot include the pippo-jackson jar because it will cause JacksonJsonEngine to be loaded with the default objectMapper?
Thank you,