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 DatabindCodec pretty mapper #5059

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

tsegismont
Copy link
Contributor

This change relieves users from configuring two object mappers if they have customizations.

For Vert.x, it is not less efficient to use a writer with pretty printer when encoding json.

This change relieves users from configuring two object mappers if they have customizations.

For Vert.x, it is not less efficient to use a writer with pretty printer when encoding json.

Signed-off-by: Thomas Segismont <[email protected]>
@tsegismont tsegismont requested a review from vietj January 9, 2024 16:14
@tsegismont
Copy link
Contributor Author

@vietj this is a proposal for Vert.x 5. If we agree on this, I will deprecate the pretty mapper in 4.x.

@vietj
Copy link
Member

vietj commented Jan 9, 2024

what is the rationale behind that ? I might have missed it

@tsegismont
Copy link
Contributor Author

The rationale is simplification. There is no need to keep two object mappers if a single one can be used to encode json in compact and pretty form.

@vietj
Copy link
Member

vietj commented Jan 9, 2024

that makes sense

Signed-off-by: Thomas Segismont <[email protected]>
@tsegismont tsegismont marked this pull request as ready for review January 10, 2024 13:32
@tsegismont tsegismont added this to the 5.0.0 milestone Jan 10, 2024
@tsegismont tsegismont merged commit 313b271 into eclipse-vertx:master Jan 10, 2024
7 checks passed
@tsegismont tsegismont deleted the remove-pretty-mapper branch January 10, 2024 13:58
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