-
Notifications
You must be signed in to change notification settings - Fork 55
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 Enum with interfaces #20
Comments
Can you give me an example of what you are trying to do please ? |
You'll find a example in my fork : https://github.com/MathieuLorber/gwt-jackson , project examples/hello (sorry for the formatting...) |
First observations :
|
Serialization is now working. I'm gonna try to finish deserialization by tomorrow. |
Well, tomorrow might be now. Jenkins is building the branch. If everything is ok, you will have a snapshot |
Snapshot available |
Well it works on my simple sample, I'll try tomorrow on the true-life-project... Thank you for your reactivity ! |
It's ok on my larger project =) |
Ok good news :) |
I'm currently working on a big GWT project, and more precisely on a proof of concept to use JSON with Jackson on the server side, gwt-jackson on the front size. The RPC services we try to migrate use complex objects. I tried several libraries, gwt-jackson is the only one to purpose solutions for some difficulties (inheritance with generics, complex map keys...).
But I actually have problems with some enums, which have the particularity to implement interfaces. The current serializer/deserializer for enums are ok with plain simple enums, but do not permit the use of interfaces with JsonTypeInfo annotation, and enums implementing them. I don't think that's a heavy feature, but it would be a great one here =)
The text was updated successfully, but these errors were encountered: