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 Details

  • Method Details

    • setCustomVarParsers

      public void setCustomVarParsers​(List<CustomVarParser> parsers)
    • 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 interface com.google.gson.JsonDeserializer<Var>
      Throws:
      com.google.gson.JsonParseException