gson-comments/gson
Lyubomyr Shaydariv fe30b85224
Support arbitrary Number implementation for Object and Number deserialization (#1290)
* Object and Number type adapters number deserialization can be configured

* Change wording of ToNumberStrategy documentation

* Use inline links in doc sparingly

If the element has already been linked before, don't create a link for
every subsequent occurrence.

See also (slightly dated)
https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html#inlinelinks

* Link to default to-number policies in ToNumberStrategy doc

* Reduce code duplication for deserializing Number

* Hide default factory constants of NumberTypeAdapter and ObjectTypeAdapter

This encapsulates the logic a little bit better.
Additionally refactored factory created by NumberTypeAdapter to only create
TypeAdapter once and then have factory reuse that adapter for better
performance.

Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
2021-10-08 17:09:43 -07:00
..
src Support arbitrary Number implementation for Object and Number deserialization (#1290) 2021-10-08 17:09:43 -07:00
bnd.bnd Fix OSGi metadata generation to work on JavaSE < 9 (#1603) 2019-11-04 15:37:46 -08:00
build.gradle Fix JPMS module setup (fixes #1315) (#1402) 2018-10-18 08:49:08 -07:00
LICENSE Updating License to contain the full text. 2011-04-12 21:21:39 +00:00
pom.xml Bump bnd-maven-plugin from 5.3.0 to 6.0.0 (#1985) 2021-10-06 17:58:02 -07:00
README Adapt gson/gson/README to match with gson/README.md (#1472) 2019-03-03 11:28:00 -08:00

Gson is a Java library that can be used to convert Java Objects into their 
JSON representation. It can also be used to convert a JSON string to 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 
https://github.com/google/gson