Class TagDropConfig.GsonAdapter

java.lang.Object
com.inductiveautomation.perspective.common.config.tagdrop.TagDropConfig.GsonAdapter
All Implemented Interfaces:
com.inductiveautomation.ignition.common.gson.JsonDeserializer<TagDropConfig>, com.inductiveautomation.ignition.common.gson.JsonSerializer<TagDropConfig>
Enclosing class:
TagDropConfig

public static class TagDropConfig.GsonAdapter extends Object implements com.inductiveautomation.ignition.common.gson.JsonSerializer<TagDropConfig>, com.inductiveautomation.ignition.common.gson.JsonDeserializer<TagDropConfig>
  • Constructor Details

    • GsonAdapter

      public GsonAdapter()
  • Method Details

    • deserialize

      public TagDropConfig deserialize(com.inductiveautomation.ignition.common.gson.JsonElement json, Type typeOfT, com.inductiveautomation.ignition.common.gson.JsonDeserializationContext context) throws com.inductiveautomation.ignition.common.gson.JsonParseException
      Specified by:
      deserialize in interface com.inductiveautomation.ignition.common.gson.JsonDeserializer<TagDropConfig>
      Throws:
      com.inductiveautomation.ignition.common.gson.JsonParseException
    • serialize

      public com.inductiveautomation.ignition.common.gson.JsonElement serialize(TagDropConfig src, Type typeOfSrc, com.inductiveautomation.ignition.common.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.inductiveautomation.ignition.common.gson.JsonSerializer<TagDropConfig>