Comments (2)
[deleted comment]
from json-io.
The json-io library now does allow you to serialize your root JsonObject (Map).
This JsonObject is returned when you read into Maps, instead of into Java
objects. The library now will serialize this 'map of maps' representation and
reproduce the original JSON if it is serialized out.
This feature allows you to read in a JSON string from another system that has
classes that the reading system does not. By reading into just JsonObjects,
you can still manipulate the data on the system that does not have the
corresponding classes, and then re-write the JSON. This is one of the more
powerful features of the json-io library.
Original comment by [email protected]
on 29 Sep 2013 at 1:56
- 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
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.