-
Notifications
You must be signed in to change notification settings - Fork 39
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
Type Id Handling not supported #46
Comments
What's your goal? Do you want to preserve the type information, i.e. which implementation of MonetaryAmount it was when serializing? |
Yes, exactly. If I don't use the DefaultTyping, Jackson will not be able to deserialise the DomainObjects inside the collection again, as it has no type information. DefaultTyping add the necessary type information, but it does not work with Money types. |
@stefanzilske Can you take a look at #47? |
Hi Folks,
I want to serialise Money types with Type Info, so that I can properly use it in serialised collections. In order to achieve this, I use Jackson DefaultTyping for polymorphic serialisation. Otherwise, type information will get lost when I serialise a Collection.
This is my (simplified) scenario:
When I try to run this, I get the following Exception:
I hope you get the point. Is this simply not supported (at the moment) or is there any way to work around this?
Cheers,
Stefan
The text was updated successfully, but these errors were encountered: