-
Notifications
You must be signed in to change notification settings - Fork 53
Serializing ImmutableSetMultimap #75
Comments
That sounds like auto-detection decided that what we have is a POJO, and not a collection of some type... |
@cowwoc Which version? I don't seem to be able to reproduce this with simple String to String multi-map, 2.6.2. |
I'm getting the same problem. Here's my multi-map in Java: Here's the output: Here's the Jackson version from pom.xml: Might someone be willing to have another look? |
@carmella-smith Can you please post a self-contained testcase? In the code you posted, the multimap really is empty. I assume you meant to post some code where the map was not empty. |
@carmella-smith sersion 2.3.3 is ancient, so I would suggest first trying out a more recent version (like 2.6.3). @cowwoc I think that serialization would be wrong for |
Hello All, Thanks so much for your response. Alas, we're using a version of Jackson Thanks, On Thu, Dec 3, 2015 at 11:14 PM, Tatu Saloranta [email protected]
Thanks, |
@carmella-smith Try overriding the default version of Jackson that ships with Dropwizard, up to 2.6.3 and let us know if the issue still occurs. |
I assume this works with 2.6.x and later, hence closing. |
Hello All, I never tried it with a newer version, as we're locked in to DropWizard's Thanks, On Sat, Dec 26, 2015 at 7:49 PM, Tatu Saloranta [email protected]
Thanks, |
#67 fixes deserialization of ImmutableSetMultimap but serialization still does not work. I tried serializing an ImmutableSetMultimap and got:
I am expecting the output to contain the map values.
The text was updated successfully, but these errors were encountered: