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