-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add support for WRITE_SORTED_MAP_ENTRIES
for Guava Multimap
s
#7
Comments
Hi, I was going to take a look at this as my first time contributing. I think i can re-create this as a failing test by creating a HashMultimap and inserting keys such as key-0, key-1, key-2. Then i configure the objectmapper with |
That sounds good. Alternatively if there is insertion-order-retaining variant, that might be best for repeatable test case; although if hash order is stable enough that should work. |
There is a comment where this should be plugged in MultimapSerializer. I was thinking of doing Where value is passed in is a after the sorting |
I haven't looked into this, and do not remember how Guava Multimaps work. Maybe someone else can help here. |
WRITE_SORTED_MAP_ENTRIES
WRITE_SORTED_MAP_ENTRIES
for Guava Multimap
s
Currently (2.7.5)
MultimapSerializer
does not make use of eitherSerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS
orJsonFormat.Feature.WRITE_SORTED_MAP_ENTRIES
; it should.The text was updated successfully, but these errors were encountered: