Package com.walkfares.odsl.var.adaptor
Class VarAdaptor
java.lang.Object
com.walkfares.odsl.var.adaptor.VarAdaptor
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Var>
public class VarAdaptor extends Object implements com.google.gson.JsonDeserializer<Var>
-
Constructor Summary
Constructors Constructor Description VarAdaptor()
-
Method Summary
Modifier and Type Method Description Var
deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
void
setCustomVarParsers(List<CustomVarParser> parsers)
-
Constructor Details
-
VarAdaptor
public VarAdaptor()
-
-
Method Details
-
setCustomVarParsers
-
deserialize
public Var 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<Var>
- Throws:
com.google.gson.JsonParseException
-