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

Support for multiple alternative names during JSON parsing #1375

Merged
merged 3 commits into from
Apr 14, 2021

Conversation

sandwwraith
Copy link
Member

@sandwwraith sandwwraith commented Mar 15, 2021

  • Configurable via @JsonNames annotation

Fixes #203

@sandwwraith
Copy link
Member Author

TODO: measure performance impact and decide whether this flag should be enabled by default (or should the feature be flagged at all)

@sandwwraith sandwwraith marked this pull request as draft April 6, 2021 09:39
@sandwwraith sandwwraith marked this pull request as ready for review April 8, 2021 12:32
@sandwwraith sandwwraith marked this pull request as draft April 8, 2021 13:50
@sandwwraith sandwwraith marked this pull request as ready for review April 8, 2021 16:43
@KevinBassaDevelopment
Copy link

TODO: measure performance impact and decide whether this flag should be enabled by default (or should the feature be flagged at all)

Is there anyway I could help?
If extensive tests are needed that take more time, could the feature be added with default flag false, and then later on be included by default if the performance impact is negligible?

Copy link
Member

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

Please address a few minor stylistic comments and it's good to go

docs/json.md Outdated Show resolved Hide resolved
docs/json.md Outdated Show resolved Hide resolved
via DescriptorSchemaCache internal mechanism
with guide, docs, and samples.

Stabilize .toString() for SerialClassDescImpl; because HashMaps on different platforms have different iteration order.

Disable primary collision detection for optimization purposes.

Add benchmarks on skipping unknown fields.
Migrate to 1.5.0-M2 to do so (because vararg in serialinfo requires IR)
@sandwwraith
Copy link
Member Author

@KevinBassaDevelopment Thanks for suggestion! I've already did some performance evaluations, and as a result, we concluded that this flag can be safely set to 'true' by default.

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.

3 participants