JavaScript is disabled on your browser.
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
A
addType(Type)
- Method in class com.google.gson.graph.
GraphAdapterBuilder
addType(Type, InstanceCreator<?>)
- Method in class com.google.gson.graph.
GraphAdapterBuilder
B
baseType
- Variable in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
C
checkOffset(String, int, char)
- Static method in class com.google.gson.typeadapters.
UtcDateTypeAdapter
Check if the expected character exist at the given offset in the value.
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
constructorConstructor
- Variable in class com.google.gson.graph.
GraphAdapterBuilder
create(Gson, TypeToken<T>)
- Method in class com.google.gson.graph.
GraphAdapterBuilder.Factory
create(Gson, TypeToken<T>)
- Method in class com.google.gson.interceptors.
InterceptorFactory
create(Gson, TypeToken<T>)
- Method in class com.google.gson.typeadapters.
PostConstructAdapterFactory
create(Gson, TypeToken<R>)
- Method in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
createInstance(Type)
- Method in class com.google.gson.graph.
GraphAdapterBuilder.Factory
Hook for the graph adapter to get a reference to a deserialized value before that value is fully populated.
D
delegate
- Variable in class com.google.gson.interceptors.
InterceptorFactory.InterceptorAdapter
delegate
- Variable in class com.google.gson.typeadapters.
PostConstructAdapterFactory.PostConstructAdapter
E
element
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Element
The element to deserialize.
F
format(Date, boolean, TimeZone)
- Static method in class com.google.gson.typeadapters.
UtcDateTypeAdapter
Format date into yyyy-MM-ddThh:mm:ss[.sss][Z|[+-]hh:mm]
G
GMT_ID
- Static variable in class com.google.gson.typeadapters.
UtcDateTypeAdapter
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
GraphAdapterBuilder.Element
<
T
> - Class in
com.google.gson.graph
An element of the graph during serialization or deserialization.
GraphAdapterBuilder.Element(T, String, TypeAdapter<T>, JsonElement)
- Constructor for class com.google.gson.graph.
GraphAdapterBuilder.Element
GraphAdapterBuilder.Factory
- Class in
com.google.gson.graph
GraphAdapterBuilder.Factory(Map<Type, InstanceCreator<?>>)
- Constructor for class com.google.gson.graph.
GraphAdapterBuilder.Factory
GraphAdapterBuilder.Graph
- Class in
com.google.gson.graph
GraphAdapterBuilder.Graph(Map<Object, GraphAdapterBuilder.Element<?>>)
- Constructor for class com.google.gson.graph.
GraphAdapterBuilder.Graph
graphThreadLocal
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Factory
I
id
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Element
This element's name in the top level graph object.
instanceCreators
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Factory
instanceCreators
- Variable in class com.google.gson.graph.
GraphAdapterBuilder
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
InterceptorFactory.InterceptorAdapter
<
T
> - Class in
com.google.gson.interceptors
InterceptorFactory.InterceptorAdapter(TypeAdapter<T>, Intercept)
- Constructor for class com.google.gson.interceptors.
InterceptorFactory.InterceptorAdapter
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.
L
labelToSubtype
- Variable in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
M
main(String[])
- Static method in class com.google.gson.extras.examples.rawcollections.
RawCollectionsExample
map
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Graph
The graph elements.
method
- Variable in class com.google.gson.typeadapters.
PostConstructAdapterFactory.PostConstructAdapter
N
name
- Variable in class com.google.gson.extras.examples.rawcollections.
RawCollectionsExample.Event
nextCreate
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Graph
The instance currently being deserialized.
nextName()
- Method in class com.google.gson.graph.
GraphAdapterBuilder.Graph
Returns a unique name for an element to be inserted into the graph.
O
of(Class<T>, String)
- Static method in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
Creates a new runtime type adapter using for
baseType
using
typeFieldName
as the type field name.
of(Class<T>)
- Static method in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
Creates a new runtime type adapter for
baseType
using
"type"
as the type field name.
P
padInt(StringBuilder, int, int)
- Static method in class com.google.gson.typeadapters.
UtcDateTypeAdapter
Zero pad a number to a specified length
parse(String, ParsePosition)
- Static method in class com.google.gson.typeadapters.
UtcDateTypeAdapter
Parse a date from ISO-8601 formatted string.
parseInt(String, int, int)
- Static method in class com.google.gson.typeadapters.
UtcDateTypeAdapter
Parse an integer located between 2 given offsets in a string
PostConstructAdapterFactory
- Class in
com.google.gson.typeadapters
PostConstructAdapterFactory()
- Constructor for class com.google.gson.typeadapters.
PostConstructAdapterFactory
PostConstructAdapterFactory.PostConstructAdapter
<
T
> - Class in
com.google.gson.typeadapters
PostConstructAdapterFactory.PostConstructAdapter(TypeAdapter<T>, Method)
- Constructor for class com.google.gson.typeadapters.
PostConstructAdapterFactory.PostConstructAdapter
postDeserialize(T)
- Method in interface com.google.gson.interceptors.
JsonPostDeserializer
This method is called by Gson after the object has been deserialized from Json.
postDeserializer
- Variable in class com.google.gson.interceptors.
InterceptorFactory.InterceptorAdapter
Q
queue
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Graph
The queue of elements to write during serialization.
R
RawCollectionsExample
- Class in
com.google.gson.extras.examples.rawcollections
RawCollectionsExample()
- Constructor for class com.google.gson.extras.examples.rawcollections.
RawCollectionsExample
RawCollectionsExample.Event
- Class in
com.google.gson.extras.examples.rawcollections
RawCollectionsExample.Event(String, String)
- Constructor for class com.google.gson.extras.examples.rawcollections.
RawCollectionsExample.Event
read(GraphAdapterBuilder.Graph)
- Method in class com.google.gson.graph.
GraphAdapterBuilder.Element
read(JsonReader)
- Method in class com.google.gson.interceptors.
InterceptorFactory.InterceptorAdapter
read(JsonReader)
- Method in class com.google.gson.typeadapters.
PostConstructAdapterFactory.PostConstructAdapter
read(JsonReader)
- Method in class com.google.gson.typeadapters.
UtcDateTypeAdapter
registerOn(GsonBuilder)
- Method in class com.google.gson.graph.
GraphAdapterBuilder
registerSubtype(Class<? extends T>, String)
- Method in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
Registers
type
identified by
label
.
registerSubtype(Class<? extends T>)
- Method in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
Registers
type
identified by its
simple name
.
RuntimeTypeAdapterFactory
<
T
> - Class in
com.google.gson.typeadapters
Adapts values whose runtime type may differ from their declaration type.
RuntimeTypeAdapterFactory(Class<?>, String)
- Constructor for class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
S
source
- Variable in class com.google.gson.extras.examples.rawcollections.
RawCollectionsExample.Event
subtypeToLabel
- Variable in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
T
toString()
- Method in class com.google.gson.extras.examples.rawcollections.
RawCollectionsExample.Event
typeAdapter
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Element
This element's type adapter if known.
typeFieldName
- Variable in class com.google.gson.typeadapters.
RuntimeTypeAdapterFactory
U
UTC_TIME_ZONE
- Variable in class com.google.gson.typeadapters.
UtcDateTypeAdapter
UtcDateTypeAdapter
- Class in
com.google.gson.typeadapters
UtcDateTypeAdapter()
- Constructor for class com.google.gson.typeadapters.
UtcDateTypeAdapter
V
value
- Variable in class com.google.gson.graph.
GraphAdapterBuilder.Element
The value if known.
W
write(JsonWriter)
- Method in class com.google.gson.graph.
GraphAdapterBuilder.Element
write(JsonWriter, T)
- Method in class com.google.gson.interceptors.
InterceptorFactory.InterceptorAdapter
write(JsonWriter, T)
- Method in class com.google.gson.typeadapters.
PostConstructAdapterFactory.PostConstructAdapter
write(JsonWriter, Date)
- Method in class com.google.gson.typeadapters.
UtcDateTypeAdapter
A
B
C
D
E
F
G
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes