Constructor and Description |
---|
DataTypeJsonSerializer() |
Modifier and Type | Method and Description |
---|---|
JsonElement |
serialize(DataType src,
java.lang.reflect.Type typeOfSrc,
JsonSerializationContext context)
参数类型描述序列化函数
|
public JsonElement serialize(DataType src, java.lang.reflect.Type typeOfSrc, JsonSerializationContext context)
src
- 原数据typeOfSrc
- 原数据类型context
- 序列化上下文