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