![]() * Fix `Gson.getDelegateAdapter` not working properly for `JsonAdapter` * Address review feedback and add comments regarding thread-safety * Revert InstanceCreator instance validation * Disallow `null` as `skipPast` * Avoid `equals` usage in `getDelegateAdapter` & minor other changes Previously `getDelegateAdapter` called `factories.contains(skipPast)`, but unlike the other comparisons which check for reference equality, that would have used the `equals` method. This could lead to spurious "GSON cannot serialize ..." exceptions if two factory instances compared equal, but the one provided as `skipPast` had not been registered yet. |
||
---|---|---|
.. | ||
src | ||
bnd.bnd | ||
LICENSE | ||
pom.xml | ||
README.md |
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
.