gson-comments/gson
Marcono1234 88fd6d1390
Improve JsonAdapter documentation and tests (#2442)
* Document how `JsonAdapter` creates adapter instances & add tests

* Extend `JsonAdapter.nullSafe()` documentation

* Improve test for JsonAdapter factory returning null

Existing test `JsonAdapterNullSafeTest` had misleading comments; while it
did in the end detect if null had not been handled correctly, that only
worked because the field `JsonAdapterFactory.recursiveCall` is static and
one test method therefore affected the state of the other test method.
If the test methods were run separately in different test runs, they would
not have detected if null was handled correctly, because the factory would
not have returned null.

* Extend JsonAdapter nullSafe test

* Extend test
2023-08-23 07:09:32 -07:00
..
src Improve JsonAdapter documentation and tests (#2442) 2023-08-23 07:09:32 -07:00
bnd.bnd Change target Java version to 7 (#2043) 2021-12-31 07:20:29 -08:00
LICENSE Updating License to contain the full text. 2011-04-12 21:21:39 +00:00
pom.xml Add integration test for GraalVM Native Image (#2466) 2023-08-13 08:44:00 -07:00
README.md Add READMEs to Maven modules (#2039) 2021-12-27 10:17:41 -08:00

gson

This Maven module contains the Gson source code. The artifacts created by this module are deployed to Maven Central under the coordinates com.google.code.gson:gson.