| 程序包 | 说明 |
|---|---|
| com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
| 限定符和类型 | 方法和说明 |
|---|---|
JsonElement |
JsonSerializer.serialize(T src,
Type typeOfSrc,
JsonSerializationContext context)
Gson invokes this call-back method during serialization when it encounters a field of the
specified type.
|
Copyright © 2015. All Rights Reserved.