类 DateNullAdapter
java.lang.Object
com.google.gson.TypeAdapter<java.util.Date>
com.tencent.polaris.plugins.configuration.connector.polaris.gson.DateNullAdapter
public class DateNullAdapter
extends com.google.gson.TypeAdapter<java.util.Date>
- 作者:
- fabian4 2023-03-13 Deserializing an empty string
-
字段概要
字段 修饰符和类型 字段 说明 static com.google.gson.TypeAdapterFactoryFACTORY -
构造器概要
构造器 构造器 说明 DateNullAdapter() -
方法概要
从类继承的方法 com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree从类继承的方法 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
字段详细资料
-
FACTORY
public static final com.google.gson.TypeAdapterFactory FACTORY
-
-
构造器详细资料
-
DateNullAdapter
public DateNullAdapter()
-
-
方法详细资料
-
read
public java.util.Date read(com.google.gson.stream.JsonReader in) throws java.io.IOException- 指定者:
read在类中com.google.gson.TypeAdapter<java.util.Date>- 抛出:
java.io.IOException
-
write
public void write(com.google.gson.stream.JsonWriter out, java.util.Date value) throws java.io.IOException- 指定者:
write在类中com.google.gson.TypeAdapter<java.util.Date>- 抛出:
java.io.IOException
-