-
Methods Method Description com.google.gson.Gson.excluder() This method by accident exposes an internal Gson class; it might be removed in a future version.com.google.gson.JsonArray.getAsCharacter() This method is misleading, as it does not get this element as a char but rather as a string's first character.com.google.gson.JsonElement.getAsCharacter() This method is misleading, as it does not get this element as a char but rather as a string's first character.com.google.gson.JsonParser.parse(String) com.google.gson.JsonPrimitive.getAsCharacter() This method is misleading, as it does not get this element as a char but rather as a string's first character.com.google.gson.reflect.TypeToken.isAssignableFrom(Class<?>) this implementation may be inconsistent with javac for types with wildcards.
-
Constructors Constructor Description com.google.gson.JsonElement() Creating customJsonElement
subclasses is highly discouraged and can lead to undefined behavior.
This constructor is only kept for backward compatibility.com.google.gson.JsonNull() Deprecated since Gson version 1.8, useJsonNull.INSTANCE
instead.com.google.gson.JsonParser() No need to instantiate this class, use the static methods instead.