gson-comments/gson/src/test/java/com/google/gson
Marcono1234 246270e02c
Convert null to JsonNull for JsonArray.set (#2170)
* Convert null to JsonNull for `JsonArray.set`

All other methods perform the same implicit conversion.

* Mention null handling in JsonObject documentation
2022-08-06 09:57:00 -07:00
..
common Minor cleanups in deprecations and other warnings (#1522) 2019-10-03 15:49:24 -07:00
functional Fixed nullSafe usage. (#1555) 2022-08-05 07:33:05 -07:00
internal Deprecate JsonElement constructor (#1761) 2022-08-04 10:32:30 -07:00
metrics Use diamond operator when creating generic instances (#2104) 2022-04-17 15:27:21 -07:00
reflect Validate TypeToken.getParameterized arguments (#2166) 2022-08-05 06:59:38 -07:00
regression Use diamond operator when creating generic instances (#2104) 2022-04-17 15:27:21 -07:00
stream Add explicit support for floats in JsonWriter. (#2130) 2022-06-08 15:04:42 -07:00
CommentsTest.java Test case demonstrating that issue 212 is fixed. We got comment parsing support for free when we switched to JsonReader. 2010-08-27 07:33:33 +00:00
DefaultInetAddressTypeAdapterTest.java Replace localhost lookup with static IP to fix test. 2015-07-20 14:03:52 -07:00
DefaultMapJsonSerializerTest.java Use diamond operator when creating generic instances (#2104) 2022-04-17 15:27:21 -07:00
ExposeAnnotationExclusionStrategyTest.java Rename GsonExclusionStrategy to Excluder. The new class is its own factory, which simplifies its caller in GsonBuilder. It no longer implements ExclusionStrategy, which allows the callers to pass in a boolean for serialize/deserialize. This allows us to use one excluder for both code paths. The delegate ExclusionStrategy instances might end up not being shared so it has two lists internally. 2011-11-22 07:37:13 +00:00
FieldAttributesTest.java Remove unused package-private FieldAttributes methods (#2162) 2022-07-29 10:10:54 -07:00
FieldNamingPolicyTest.java feat: added UPPER_CASE_WITH_UNDERSCORES in FieldNamingPolicy (#2024) 2021-11-28 09:33:22 -08:00
GenericArrayTypeTest.java Renamed $Preconditions to $Gson$Preconditions and $Types to $Gson$Types. 2011-04-06 00:26:57 +00:00
GsonBuilderTest.java Add GsonBuilder.disableJdkUnsafe() (#1904) 2021-12-30 15:08:18 -08:00
GsonTest.java Prefer existing adapter for concurrent Gson.getAdapter calls (#2153) 2022-08-01 10:59:04 -07:00
GsonTypeAdapterTest.java Add CodeQL GitHub code scanning workflow (#2076) 2022-02-17 18:40:40 -08:00
InnerClassExclusionStrategyTest.java Rename GsonExclusionStrategy to Excluder. The new class is its own factory, which simplifies its caller in GsonBuilder. It no longer implements ExclusionStrategy, which allows the callers to pass in a boolean for serialize/deserialize. This allows us to use one excluder for both code paths. The delegate ExclusionStrategy instances might end up not being shared so it has two lists internally. 2011-11-22 07:37:13 +00:00
JavaSerializationTest.java Use diamond operator when creating generic instances (#2104) 2022-04-17 15:27:21 -07:00
JsonArrayTest.java Convert null to JsonNull for JsonArray.set (#2170) 2022-08-06 09:57:00 -07:00
JsonNullTest.java removed eclipse warnings, unused fields. Made inner classes static where possible. 2013-04-12 20:09:08 +00:00
JsonObjectTest.java Fix warnings (#2014) 2021-11-07 08:43:49 -08:00
JsonParserParameterizedTest.java Make Object and JsonElement deserialization iterative (#1912) 2022-06-22 17:42:19 -07:00
JsonParserTest.java Make Object and JsonElement deserialization iterative (#1912) 2022-06-22 17:42:19 -07:00
JsonPrimitiveTest.java Add new testcases (#1638) 2020-02-17 14:55:19 -08:00
JsonStreamParserTest.java Remove unused import. 2009-10-02 20:22:43 +00:00
LongSerializationPolicyTest.java Fix LongSerializationPolicy null handling being inconsistent with Gson (#1990) 2021-10-11 12:34:32 -07:00
MixedStreamTest.java Track change in thrown exception. 2011-10-24 05:03:06 +00:00
MockExclusionStrategy.java updated minimum JDK version to 1.6. 2015-11-04 18:52:20 -08:00
ObjectTypeAdapterParameterizedTest.java Make Object and JsonElement deserialization iterative (#1912) 2022-06-22 17:42:19 -07:00
ObjectTypeAdapterTest.java Make Object and JsonElement deserialization iterative (#1912) 2022-06-22 17:42:19 -07:00
OverrideCoreTypeAdaptersTest.java Address code review comments on r1154 2012-07-02 20:32:38 +00:00
ParameterizedTypeFixtures.java Use diamond operator when creating generic instances (#2104) 2022-04-17 15:27:21 -07:00
ParameterizedTypeTest.java Fix some typos in gson comments. 2016-02-15 14:11:23 -08:00
PrimitiveTypeAdapter.java Down to 22 failing tests. 2011-09-11 07:04:56 +00:00
ToNumberPolicyTest.java Improve number strategy implementation (#1987) 2021-10-11 16:14:47 -07:00
TypeAdapterTest.java Improve lenient mode documentation (#2122) 2022-06-28 09:48:05 -07:00
VersionExclusionStrategyTest.java removed some eclipse warnings 2014-03-09 07:33:08 +00:00