Top Description Interfaces Classes
module com.google.gson

Package com.google.gson.internal

Annotations
@CheckReturnValue

Do NOT use any class in this package as they are meant for internal use in Gson. These classes will very likely change incompatibly in future versions. You have been warned.
Author
Inderjeet Singh, Joel Leitch, Jesse Wilson

Interface Summary

Modifier and TypeInterface and Description
public interface
ObjectConstructor<T>

Defines a generic object construction factory.

Class Summary

Modifier and TypeClass and Description
public class
ConstructorConstructor

Returns a function that can construct an instance of a requested type.

public class
Excluder

This class selects which fields and types to omit.

public class
GsonBuildConfig

Build configuration for Gson.

public class
GsonTypes

Static methods for working with types.

public class
JavaVersion

Utility to check the major Java version of the current JVM.

public abstract class
JsonReaderInternalAccess

Internal-only APIs of JsonReader available only to other classes in Gson.

public class
LazilyParsedNumber

This class holds a number value that is lazily converted to a specific number type

public class
LinkedTreeMap<K, V>

A map of comparable keys to values.

public class
NonNullElementWrapperList<E>

List which wraps another List but prevents insertion of null elements.

public class
NumberLimits

This class enforces limits on numbers parsed from JSON to avoid potential performance problems when extremely large numbers are used.

public class
PreJava9DateFormatProvider

Provides DateFormats for US locale with patterns which were the default ones before Java 9.

public class
Primitives

Contains static utility methods pertaining to primitive types and their corresponding wrapper types.

public class
public class
Streams

Reads and writes GSON parse trees over streams.

public class
public abstract class
UnsafeAllocator

Do sneaky things to allocate objects without invoking their constructors.