Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Make CsvMapper default to alphabetic sorting of properties #11

Closed
cowtowncoder opened this issue Nov 24, 2012 · 1 comment
Closed

Make CsvMapper default to alphabetic sorting of properties #11

cowtowncoder opened this issue Nov 24, 2012 · 1 comment
Milestone

Comments

@cowtowncoder
Copy link
Member

Since ordering of properties is important, and since the default ordering is unspecified (or arbitrary) -- JDK does not guarantee that fields or methods are returned in any particular ordering -- it makes sense to default ordering to lexicographic (alphabetic).
Users can still override this if need be.

Change can be made in 2.2, but not in 2.0.x patch versions.

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

No branches or pull requests

1 participant