Class VarSmartCurveAdaptor

java.lang.Object
com.walkfares.odsl.var.adaptor.VarSmartCurveAdaptor
All Implemented Interfaces:
com.google.gson.JsonDeserializer<VarSmartCurve>, com.google.gson.JsonSerializer<VarSmartCurve>

public class VarSmartCurveAdaptor
extends Object
implements com.google.gson.JsonSerializer<VarSmartCurve>, com.google.gson.JsonDeserializer<VarSmartCurve>
  • Constructor Details

  • Method Details

    • deserialize

      public VarSmartCurve deserialize​(com.google.gson.JsonElement json, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<VarSmartCurve>
      Throws:
      com.google.gson.JsonParseException
    • serialize

      public com.google.gson.JsonElement serialize​(VarSmartCurve src, Type type, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<VarSmartCurve>