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 Details

  • 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 interface com.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 interface com.google.gson.JsonSerializer<VarMissingValue>