7e760143fd
The most notable impact of this change is that it adds several new public APIs: - The TypeAdapter abstract class - The TypeAdapter.Factory interface - Four new methods on GsonBuilder to register streaming TypeAdapters (via Factory, via Class, via TypeToken, and as a type hierarchy) - Three new methods on Gson to lookup streaming TypeAdapters (by type, by class, and to get the next type adapter) Still outstanding: - Write beautiful prose to document the new APIs above - Change GsonBuilder's precedence so that both old and new-style type adapters are registered in one lot |
||
---|---|---|
.. | ||
docs/javadocs | ||
src | ||
assembly-descriptor.xml | ||
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