actolap / json-io

Automatically exported from code.google.com/p/json-io
0 stars 0 forks source link

no built in support for enums #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run the attached java example

What is the expected output? What do you see instead?
when trying do deserialize enums types as part of a parent class - the returned 
result is null.  

What version of the product are you using? On what operating system?
latest

Please provide any additional information below.

Original issue reported on code.google.com by chen.be...@gmail.com on 22 Oct 2012 at 12:16

Attachments:

GoogleCodeExporter commented 9 years ago
I have found a solution but I still think that there should be an inherent 
support for enum types.

Please add support so that we won't have to use custom serializers for such 
simple use cases.

attached is the workaround.

Original comment by chen.be...@gmail.com on 22 Oct 2012 at 3:14

Attachments:

GoogleCodeExporter commented 9 years ago
https://groups.google.com/d/topic/json-io/hl0cRJQsrwo/discussion

Sounds like this has been fixed. However it doesn't appear in the trunk source? 

Original comment by stav...@gmail.com on 30 Nov 2012 at 12:34

GoogleCodeExporter commented 9 years ago
This is fixed and the sources available include the fix.

Original comment by jdereg@gmail.com on 1 Jun 2013 at 8:50

GoogleCodeExporter commented 9 years ago
this issued is fixed, tested, and closed.

Original comment by jdereg@gmail.com on 29 Sep 2013 at 1:50