Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
Modifier and Type | Method and Description |
---|---|
static FieldNamingPolicy |
FieldNamingPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldNamingPolicy[] |
FieldNamingPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
GsonBuilder |
GsonBuilder.setFieldNamingPolicy(FieldNamingPolicy namingConvention)
Configures Gson to apply a specific naming policy to an object's field during serialization
and deserialization.
|
Copyright © 2017. All Rights Reserved.