Comments (4)
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 [email protected]
on 22 Oct 2012 at 3:14
Attachments:
from json-io.
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 [email protected]
on 30 Nov 2012 at 12:34
from json-io.
This is fixed and the sources available include the fix.
Original comment by [email protected]
on 1 Jun 2013 at 8:50
- Changed state: Fixed
from json-io.
this issued is fixed, tested, and closed.
Original comment by [email protected]
on 29 Sep 2013 at 1:50
- Changed state: Done
from json-io.
Related Issues (20)
- serializing an empty ArrayList produces {} instead of [] HOT 4
- java.io.IOException: Class instance 'Foo' could not be created at position 10533 HOT 3
- Access to JsonObject.target required in custom JsonClassReaders HOT 1
- Serializing breaks for java.util.Date subclasses HOT 2
- In Java 7, the Throwable type contains java.util.Collections$UnmodifiableRandomAccessList, which does not allow a null constructor arg HOT 4
- cloneObject(String s) HOT 1
- JsonWriter not working as expected for single string input; works for other types HOT 1
- IllegalAccessException HOT 1
- maybe unnecessary call of convertParsedMapsToJava inside JsonReader.readObject()
- Feature request: add a optional fallback type parameter for the toplevel json container to JsonReader.jsonToJava(json); HOT 1
- loadClass(name) raises ClassNotFound Exception although Class exists / solution available
- json for enum includes private fields, causes error when parsing
- JsonWriter.objectToJson breaks on HashMap<Double, Double>
- Feature request: Totally disable '@type' field
- Double.NaN not handled correctly. HOT 1
- Float NaN value causes token exception (expects null)
- assumes private fields are unique in class hierarchy HOT 7
- Abbreviation for package path HOT 1
- Import library? HOT 3
- Serializing Maps as Simple JSON Maps HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-io.