2541e658f7
GSON 1.x applies different rules for versioning for classes vs fields. So, if you deserialize a JSON into a field that is supposed to be skipped, the field is set to null (or default value). However, if you deserialize it to a top-level class, a default instance is returned. GSON 2.x returns null for the top-level class. |
||
---|---|---|
.. | ||
docs/javadocs | ||
src | ||
assembly-descriptor.xml | ||
GSON 2.0 NOTES.txt | ||
LICENSE | ||
pom.xml | ||
README |
Gson is a Java library that can be used to convert a Java object into its JSON representation. It can also be used to convert a JSON string into an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. Complete Gson documentation is available at its project page http://code.google.com/p/google-gson