-
Deprecated MethodsMethodDescriptionThis method by accident exposes an internal Gson class; it might be removed in a future version.This method is misleading, as it does not get this element as a char but rather as a string's first character.This method is misleading, as it does not get this element as a char but rather as a string's first character.This method is misleading, as it does not get this element as a char but rather as a string's first character.this implementation may be inconsistent with javac for types with wildcards.this implementation may be inconsistent with javac for types with wildcards.this implementation may be inconsistent with javac for types with wildcards.
-
Deprecated ConstructorsConstructorDescriptionCreating custom
JsonElementsubclasses is highly discouraged and can lead to undefined behavior.
This constructor is only kept for backward compatibility.Deprecated since Gson version 1.8, useJsonNull.INSTANCEinstead.No need to instantiate this class, use the static methods instead.