AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
|
包 com.google.gson

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

1 new Gson()

(using default settings) or by using com.google.gson.GsonBuilder (to configure various options such as using versioning and so on).

作者
Inderjeet Singh, Joel Leitch