Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Jackson Enum annotations aren't applied correctly #9

Closed
joelittlejohn opened this issue Jun 23, 2013 · 1 comment
Closed

Jackson Enum annotations aren't applied correctly #9

joelittlejohn opened this issue Jun 23, 2013 · 1 comment
Milestone

Comments

@joelittlejohn
Copy link
Owner

Original author: joelittl...@gmail.com (January 12, 2011 10:47:44)

We're not getting the right de-serialization behaviour at the moment. On attempting to de-serialize using an enum for which the value does not match the Java enum name, I see the following exception:

org.codehaus.jackson.map.JsonMappingException: Can not construct instance of com.example.Item$Type from String value 'myValue': value not one of declared Enum instance names

Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=9

@joelittlejohn
Copy link
Owner Author

From joelittl...@gmail.com on January 12, 2011 15:20:03
Fixed. Will be released in 0.1.5.

flibbertigibbet added a commit to flibbertigibbet/jsonschema2pojo that referenced this issue Jun 13, 2016
…-non-ascii-varnames

Feature/allow non ascii varnames
flibbertigibbet added a commit to flibbertigibbet/jsonschema2pojo that referenced this issue Jun 14, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant