| 程序包 | 说明 |
|---|---|
| com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
| com.google.gson.internal.bind |
| 限定符和类型 | 类和说明 |
|---|---|
class |
FieldNamingPolicy
An enumeration that defines a few standard naming conventions for JSON field names.
|
| 限定符和类型 | 方法和说明 |
|---|---|
GsonBuilder |
GsonBuilder.setFieldNamingStrategy(FieldNamingStrategy fieldNamingStrategy)
Configures Gson to apply a specific naming policy strategy to an object's field during
serialization and deserialization.
|
| 构造器和说明 |
|---|
ReflectiveTypeAdapterFactory(ConstructorConstructor constructorConstructor,
FieldNamingStrategy fieldNamingPolicy,
Excluder excluder) |
Copyright © 2015. All Rights Reserved.