Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cowtowncoder opened this issue Jan 28, 2021 · 0 comments
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Milestone

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Jan 28, 2021

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.

@cowtowncoder cowtowncoder added the 3.x Issues to be only tackled for Jackson 3.x, not 2.x label Jan 28, 2021
@cowtowncoder cowtowncoder added this to the 3.0.0 milestone Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Projects
None yet
Development

No branches or pull requests

1 participant