Skip to content

Add mechanism for setting default ContextAttributes for ObjectMapper #3001

@cowtowncoder

Description

@cowtowncoder

Currently (2.12) the only way to specify default ContextAttributes for ObjectMapper is to directly modify DeserializationConfig/SerializationConfig. But it'd seem better to allow doing this via MapperBuilder, adding something like

defaultAttributes(ContextAttributes)

method (and simple tests).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions