|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GsonBuilder | |
---|---|
com.google.gson | This package provides the Gson class to convert Json to Java and
vice-versa. |
Uses of GsonBuilder in com.google.gson |
---|
Methods in com.google.gson that return GsonBuilder | |
---|---|
GsonBuilder |
GsonBuilder.excludeFieldsWithModifiers(int... modifiers)
Configures Gson to excludes all class fields that have the specified modifiers. |
GsonBuilder |
GsonBuilder.excludeFieldsWithoutExposeAnnotation()
Configures Gson to exclude all fields from consideration for serialization or deserialization that do not have the Expose annotation. |
GsonBuilder |
GsonBuilder.registerTypeAdapter(Type type,
Object typeAdapter)
Configures Gson for custom serialization or deserialization. |
GsonBuilder |
GsonBuilder.serializeNulls()
Configure Gson to serialize null fields. |
GsonBuilder |
GsonBuilder.setDateFormat(int style)
Configures Gson to to serialize Date objects according to the style value provided. |
GsonBuilder |
GsonBuilder.setDateFormat(int dateStyle,
int timeStyle)
Configures Gson to to serialize Date objects according to the style value provided. |
GsonBuilder |
GsonBuilder.setDateFormat(String pattern)
Configures Gson to serialize Date objects according to the pattern provided. |
GsonBuilder |
GsonBuilder.setFieldNamingPolicy(FieldNamingPolicy namingConvention)
Configures Gson to apply a specific naming policy to an object's field during serialization and deserialization. |
GsonBuilder |
GsonBuilder.setPrettyPrinting()
Configures Gson to output Json that fits in a page for pretty printing. |
GsonBuilder |
GsonBuilder.setVersion(double ignoreVersionsAfter)
Configures Gson to enable versioning support. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |