public static class Utils.WrapperDateJsonDeserializer
extends java.lang.Object
implements com.google.gson.JsonDeserializer<java.util.Date>
JsonDeserializer
to parse a value to Date.JsonDeserializer
and delegate the parse work to it. It self does not do any specific parse work.Modifier and Type | Field and Description |
---|---|
protected com.google.gson.JsonDeserializer<java.util.Date> |
delegate |
Constructor and Description |
---|
WrapperDateJsonDeserializer(com.google.gson.JsonDeserializer<java.util.Date> delegate) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
public WrapperDateJsonDeserializer(com.google.gson.JsonDeserializer<java.util.Date> delegate)
public java.util.Date deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<java.util.Date>
com.google.gson.JsonParseException
Copyright © SAS Institute. All Rights Reserved.