Package com.walkfares.odsl.var.adaptor
Class VarActionAdaptor
java.lang.Object
com.walkfares.odsl.var.adaptor.VarActionAdaptor
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<VarAction>
,com.google.gson.JsonSerializer<VarAction>
public class VarActionAdaptor extends Object implements com.google.gson.JsonSerializer<VarAction>, com.google.gson.JsonDeserializer<VarAction>
-
Constructor Summary
Constructors Constructor Description VarActionAdaptor()
-
Method Summary
-
Constructor Details
-
VarActionAdaptor
public VarActionAdaptor()
-
-
Method Details
-
deserialize
public VarAction 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<VarAction>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(VarAction src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<VarAction>
-