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

Use LinkedHashSet when deserializing Set to preserve order #227

Merged

Conversation

ctrimble
Copy link
Collaborator

Issue #160 corrected ordering problems when building POJOs in code, but order is still being lost during deserialization. This change configures Jackson 1 and Jackson 2 to use java.util.LinkedHashSet when deserializing to java.util.Set.

joelittlejohn added a commit that referenced this pull request Jul 25, 2014
Use LinkedHashSet when Deserializing Set.
@joelittlejohn joelittlejohn merged commit c1ca17d into joelittlejohn:master Jul 25, 2014
@joelittlejohn
Copy link
Owner

Very nice, thank you.

@joelittlejohn joelittlejohn added this to the 0.4.5 milestone Jul 25, 2014
@ctrimble ctrimble deleted the feature_unique-items-order branch July 25, 2014 15:17
@joelittlejohn joelittlejohn changed the title Use LinkedHashSet when Deserializing Set. Use LinkedHashSet when deserializing Set to preserve order Aug 4, 2014
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