gson-comments/gson
Marcono1234 a92bbf849c
Improve TreeTypeAdapter thread-safety (#1976)
* Improve TreeTypeAdapter thread-safety

Gson claims to be thread-safe so TreeTypeAdapter.delegate() might be
called by multiple threads. To guarantee that each thread sees a fully
constructed `delegate`, the field has to be `volatile`.

* Improve TreeTypeAdapter thread race comment
2021-11-01 15:13:08 -07:00
..
src Improve TreeTypeAdapter thread-safety (#1976) 2021-11-01 15:13:08 -07:00
bnd.bnd #1981: Optional OSGi bundle's dependency on sun.misc package (#1993) 2021-10-25 11:32:10 -07: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 Update CHANGELOG.md for 2.8.9. (#2005) 2021-10-29 13:41:12 -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