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