Skip to content

Change UUIDSerializer to use StreamWriteCapability check instead of JsonGenerator.canWriteBinaryNatively() (3.0) #3028

@cowtowncoder

Description

@cowtowncoder

With addition of StreamWriteCapability checks, should convert UUIDSerializer as per title.

NOTE: since 2.x does not have access to these capabilities via SerializerProvider -- since it does not get JsonGenerator assigned (but 3.0 has) -- cannot really backport without bigger changes. But should be doable for 3.0.

In 3.0, will first need to add accessor in SerializerProvider for StreamWriteCapability, however.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions