![]() The most significant impact of this change is that fields whose types are type parameters should now GSONify just fine. For example, consider the class below. abstract class Foo<A, B> { A a; B b; List<A> list; Map<A, List<B>> map; } class RealFoo extends Foo<String, Integer> {...} This is a reasonable checkpoint but some work still needs to be done for this. In particular, the level of visibility of methods in TypeToken and Type should be reconsidered; we're exposing more than we need to! |
||
---|---|---|
.. | ||
docs/javadocs | ||
src | ||
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