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

Remove JsonGen base64 encoding basic option and keep only the URL safe encoding #391

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

vietj
Copy link
Member

@vietj vietj commented Oct 7, 2024

Motivation:

Legacy Buffer base64 encoding stemming from Vert.x 3 is dropped in Vert.x 5

Changes:

Remove the base64Type member of the @JsonGen annotation and the related handling in the generator and use URL base 64.

Result:

The generated converter only encode/decode buffers against URL base 64.

Motivation:

Explain here the context, and why you're making that change, what is the problem you're trying to solve.

…e encoding.

Motivation:

Legacy Buffer base64 encoding stemming from Vert.x 3 is dropped in Vert.x 5

Changes:

Remove the base64Type member of the @JsonGen annotation and the related handling in the generator and use URL base 64.

Result:

The generated converter only encode/decode buffers against URL base 64.
@vietj vietj added this to the 5.0.0 milestone Oct 7, 2024
@vietj vietj self-assigned this Oct 7, 2024
@vietj vietj merged commit adc6a4f into master Oct 7, 2024
5 checks passed
@vietj vietj deleted the remove-json-gen-base64-type branch October 7, 2024 18:48
@tsegismont
Copy link
Contributor

Nice!

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

Successfully merging this pull request may close these issues.

2 participants