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

Add JsonFormat.Shape awareness for UUID serialization (UUIDSerializer) #2815

Closed
cowtowncoder opened this issue Aug 11, 2020 · 0 comments
Closed
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: fix for FasterXML/jackson-dataformats-binary#218)

Although UUID deserializer can read both String and Binary (if available) representations, it is strictly based on capabilities of the backend (see JsonGenerator.canWriteBinaryNatively()), and there is no easy way to override behavior. This can be problematic in general, but caused issues in particular with Avro format which had formerly claimed it can not write binary natively: issues was fixed for 2.11, but some existing code/models were already counting on String-based representation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant