Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
Modifier and Type | Method | Description |
---|---|---|
static FieldNamingPolicy |
FieldNamingPolicy.valueOf(java.lang.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 | Description |
---|---|---|
GsonBuilder |
GsonBuilder.setFieldNamingPolicy(FieldNamingPolicy namingConvention) |
Configures Gson to apply a specific naming policy to an object's field during serialization
and deserialization.
|
Copyright © 2018. All rights reserved.