Skip to content

customize jackson objectMapper #274

Description

@amalagaura

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions