Skip to content

Deprecate MapperBuilder.serializationInclusion() (to align with ObjectMapper, prep for 3.0) #5297

@cowtowncoder

Description

@cowtowncoder

While ObjectMapper.setSerializationInclusion() was deprecated a while ago (in 2.0) -- to be replaced with ObjectMapper.setDefaultPropertyInclusion() -- MapperBuilder.serializationInclusion() was not similarly deprecated. Since this method has replacement (MapperBuilder.defaultPropertyInclusion()) -- and since methods are removed from 3.0, let's mark this method as deprecated
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.20Issues planned at 2.20 or later

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions