Skip to content

Rename SerializerProvider as SerializationContext #3043

@cowtowncoder

Description

@cowtowncoder

Something that should have been done during 1.x->2.0 major version upgrade but better late than never: due to historical reasons (serialization implemented before deserialization), context object naming is inconsistent. We have:

  • DeseralizationContext for deserialization
  • SerializerProvider for serialization

Latter may have made sense in 0.9.4 since the primary reason was access to child serializers (and this is still an importan use case); but conceptually it is a context object, and has expanded a lot in functionality.
So let's fix this naming discrepancy in 3.0.
(yes, this will result in lots of changes across the whole codebase)

EDIT: Related renaming:

  • JsonFormatVisitorWithSerializerProvider -> JsonFormatVisitorWithSerializationContext

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.xIssues to be only tackled for Jackson 3.x, not 2.x

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions