Class GsonInstantTypeAdapater

java.lang.Object
com.google.gson.TypeAdapter<Instant>
dev.galasa.framework.spi.utils.GsonInstantTypeAdapater

public class GsonInstantTypeAdapater extends com.google.gson.TypeAdapter<Instant>
  • Constructor Details

    • GsonInstantTypeAdapater

      public GsonInstantTypeAdapater()
  • Method Details

    • write

      public void write(com.google.gson.stream.JsonWriter out, Instant value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<Instant>
      Throws:
      IOException
    • read

      public Instant read(com.google.gson.stream.JsonReader in) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<Instant>
      Throws:
      IOException