Package com.walkfares.odsl.var.adaptor
Class VarCurveDateAdaptor
java.lang.Object
com.walkfares.odsl.var.adaptor.VarCurveDateAdaptor
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<VarCurveDate>
,com.google.gson.JsonSerializer<VarCurveDate>
public class VarCurveDateAdaptor extends Object implements com.google.gson.JsonDeserializer<VarCurveDate>, com.google.gson.JsonSerializer<VarCurveDate>
-
Constructor Summary
Constructors Constructor Description VarCurveDateAdaptor()
-
Method Summary
Modifier and Type Method Description VarCurveDate
deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
com.google.gson.JsonElement
serialize(VarCurveDate src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
VarCurveDateAdaptor
setContextContainer(ContextContainer contextContainer)
-
Constructor Details
-
VarCurveDateAdaptor
public VarCurveDateAdaptor()
-
-
Method Details
-
setContextContainer
-
deserialize
public VarCurveDate deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<VarCurveDate>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(VarCurveDate src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<VarCurveDate>
-