Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
R
S
T
V
S
serialize(Object)
- Method in interface com.google.gson.
JsonSerializationContext
Invokes default serialization on the specified object.
serialize(Object, Type)
- Method in interface com.google.gson.
JsonSerializationContext
Invokes default serialization on the specified object passing the specific type information.
serialize(T, Type, JsonSerializationContext)
- Method in interface com.google.gson.
JsonSerializer
Gson invokes this call-back method during serialization when it encounters a field of the specified type.
SerializedName
- Annotation Type in
com.google.gson.annotations
An annotation that indicates this member should be serialized to JSON with the provided name value as its field name.
setFieldNamingPolicy(FieldNamingPolicy)
- Method in class com.google.gson.
GsonBuilder
Configures Gson to apply a specific naming policy to an object's field during serialization and deserialization.
setPrettyPrinting()
- Method in class com.google.gson.
GsonBuilder
Configures Gson to output Json that fits in a page for pretty printing.
setVersion(double)
- Method in class com.google.gson.
GsonBuilder
Configures Gson to enable versioning support.
Since
- Annotation Type in
com.google.gson.annotations
An annotation that indicates the version number since a member or a type has been present.
size()
- Method in class com.google.gson.
JsonArray
Returns the number of elements in the array.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
R
S
T
V