Index
All Classes and Interfaces|All Packages
A
- addType(Type) - Method in class com.google.gson.graph.GraphAdapterBuilder
- addType(Type, InstanceCreator) - Method in class com.google.gson.graph.GraphAdapterBuilder
C
- com.google.gson.extras.examples.rawcollections - package com.google.gson.extras.examples.rawcollections
- com.google.gson.graph - package com.google.gson.graph
- com.google.gson.interceptors - package com.google.gson.interceptors
- com.google.gson.typeadapters - package com.google.gson.typeadapters
- create(Gson, TypeToken) - Method in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
- create(Gson, TypeToken) - Method in class com.google.gson.interceptors.InterceptorFactory
- create(Gson, TypeToken) - Method in class com.google.gson.typeadapters.PostConstructAdapterFactory
G
- GraphAdapterBuilder - Class in com.google.gson.graph
-
Writes a graph of objects as a list of named nodes.
- GraphAdapterBuilder() - Constructor for class com.google.gson.graph.GraphAdapterBuilder
I
- Intercept - Annotation Type in com.google.gson.interceptors
-
Use this annotation to indicate various interceptors for class instances after they have been processed by Gson.
- InterceptorFactory - Class in com.google.gson.interceptors
-
A type adapter factory that implements
@Intercept. - InterceptorFactory() - Constructor for class com.google.gson.interceptors.InterceptorFactory
J
- JsonPostDeserializer<T> - Interface in com.google.gson.interceptors
-
This interface is implemented by a class that wishes to inspect or modify an object after it has been deserialized.
M
- main(String[]) - Static method in class com.google.gson.extras.examples.rawcollections.RawCollectionsExample
O
- of(Class) - Static method in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
-
Creates a new runtime type adapter for
baseTypeusing"type"as the type field name. - of(Class, String) - Static method in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
-
Creates a new runtime type adapter using for
baseTypeusingtypeFieldNameas the type field name. - of(Class, String, boolean) - Static method in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
-
Creates a new runtime type adapter using for
baseTypeusingtypeFieldNameas the type field name.
P
- PostConstructAdapterFactory - Class in com.google.gson.typeadapters
- PostConstructAdapterFactory() - Constructor for class com.google.gson.typeadapters.PostConstructAdapterFactory
- postDeserialize() - Element in annotation type com.google.gson.interceptors.Intercept
-
Specify the class that provides the methods that should be invoked after an instance has been deserialized.
- postDeserialize(T) - Method in interface com.google.gson.interceptors.JsonPostDeserializer
-
This method is called by Gson after the object has been deserialized from Json.
R
- RawCollectionsExample - Class in com.google.gson.extras.examples.rawcollections
- RawCollectionsExample() - Constructor for class com.google.gson.extras.examples.rawcollections.RawCollectionsExample
- read(JsonReader) - Method in class com.google.gson.typeadapters.UtcDateTypeAdapter
- Registering Types - Section in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
- registerOn(GsonBuilder) - Method in class com.google.gson.graph.GraphAdapterBuilder
- registerSubtype(Class) - Method in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
-
Registers
typeidentified by itssimple name. - registerSubtype(Class, String) - Method in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
-
Registers
typeidentified bylabel. - RuntimeTypeAdapterFactory<T> - Class in com.google.gson.typeadapters
-
Adapts values whose runtime type may differ from their declaration type.
S
- Serialization and deserialization - Section in class com.google.gson.typeadapters.RuntimeTypeAdapterFactory
U
- UtcDateTypeAdapter - Class in com.google.gson.typeadapters
- UtcDateTypeAdapter() - Constructor for class com.google.gson.typeadapters.UtcDateTypeAdapter
W
- write(JsonWriter, Date) - Method in class com.google.gson.typeadapters.UtcDateTypeAdapter
All Classes and Interfaces|All Packages