包 | |
| package | annotations |
| package | internal |
| package | reflect |
| package | stream |
类 | |
| class | DefaultDateTypeAdapter |
| interface | ExclusionStrategy |
| class | FieldAttributes |
| enum | FieldNamingPolicy |
| interface | FieldNamingStrategy |
| class | Gson |
| class | GsonBuilder |
| interface | InstanceCreator< T > |
| class | JsonArray |
| interface | JsonDeserializationContext |
| interface | JsonDeserializer< T > |
| class | JsonElement |
| class | JsonIOException |
| class | JsonNull |
| class | JsonObject |
| class | JsonParseException |
| class | JsonParser |
| class | JsonPrimitive |
| interface | JsonSerializationContext |
| interface | JsonSerializer< T > |
| class | JsonStreamParser |
| class | JsonSyntaxException |
| enum | LongSerializationPolicy |
| class | TreeTypeAdapter< T > |
| class | TypeAdapter< T > |
| interface | TypeAdapterFactory |
This package provides the com.google.gson.Gson class to convert Json to Java and vice-versa.
The primary class to use is com.google.gson.Gson which can be constructed with
(using default settings) or by using com.google.gson.GsonBuilder (to configure various options such as using versioning and so on).
1.8.8