c5c65ba626
The motivating difference is that JsonReaderV2 tries to read each character at most once. This means that when it reads literals, it also attempts to decode them to a keyword (true/false/null) or a number. This change also _doesn't_ read strings until demanded to do so. This should permit streaming access to strings down the road. This code is not yet complete, nor is has it been properly optimized. And the implementation is also quite a mess! It is a work in progress. |
||
---|---|---|
.. | ||
docs/javadocs | ||
gson-codegen | ||
src | ||
assembly-descriptor.xml | ||
Gson 2.1 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