Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
com.google.gson.internal |
Do NOT use any class in this package as they are meant for internal use in Gson.
|
com.google.gson.internal.bind |
Modifier and Type | Field and Description |
---|---|
private Excluder |
Gson.excluder |
private Excluder |
GsonBuilder.excluder |
Modifier and Type | Method and Description |
---|---|
Excluder |
Gson.excluder() |
Constructor and Description |
---|
Gson(Excluder excluder,
FieldNamingStrategy fieldNamingStrategy,
java.util.Map<java.lang.reflect.Type,InstanceCreator<?>> instanceCreators,
boolean serializeNulls,
boolean complexMapKeySerialization,
boolean generateNonExecutableGson,
boolean htmlSafe,
boolean prettyPrinting,
boolean lenient,
boolean serializeSpecialFloatingPointValues,
LongSerializationPolicy longSerializationPolicy,
java.util.List<TypeAdapterFactory> typeAdapterFactories) |
Modifier and Type | Field and Description |
---|---|
static Excluder |
Excluder.DEFAULT |
Modifier and Type | Method and Description |
---|---|
protected Excluder |
Excluder.clone() |
Excluder |
Excluder.disableInnerClassSerialization() |
Excluder |
Excluder.excludeFieldsWithoutExposeAnnotation() |
Excluder |
Excluder.withExclusionStrategy(ExclusionStrategy exclusionStrategy,
boolean serialization,
boolean deserialization) |
Excluder |
Excluder.withModifiers(int... modifiers) |
Excluder |
Excluder.withVersion(double ignoreVersionsAfter) |
Modifier and Type | Field and Description |
---|---|
private Excluder |
ReflectiveTypeAdapterFactory.excluder |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
ReflectiveTypeAdapterFactory.excludeField(java.lang.reflect.Field f,
boolean serialize,
Excluder excluder) |
Constructor and Description |
---|
ReflectiveTypeAdapterFactory(ConstructorConstructor constructorConstructor,
FieldNamingStrategy fieldNamingPolicy,
Excluder excluder,
JsonAdapterAnnotationTypeAdapterFactory jsonAdapterFactory) |