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