Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
Modifier and Type | Class | Description |
---|---|---|
class |
FieldNamingPolicy |
An enumeration that defines a few standard naming conventions for JSON field names.
|
Modifier and Type | Method | Description |
---|---|---|
FieldNamingStrategy |
Gson.fieldNamingStrategy() |
Modifier and Type | Method | Description |
---|---|---|
GsonBuilder |
GsonBuilder.setFieldNamingStrategy(FieldNamingStrategy fieldNamingStrategy) |
Configures Gson to apply a specific naming policy strategy to an object's field during
serialization and deserialization.
|
Copyright © 2018. All rights reserved.