java.lang.Object
com.inductiveautomation.ignition.common.resourcecollection.json.Encoder
com.inductiveautomation.ignition.common.resourcecollection.json.ConfigModeEncoder

public class ConfigModeEncoder extends Encoder
Collection of utility methods to encode and decode resource collection and related objects to/from JSON. Note that some JSON encodings in this object space have two different encoding styles - one for projects and one for the configuration modes. The methods on this class use the "config mode" bias.
  • Constructor Details

    • ConfigModeEncoder

      public ConfigModeEncoder()
  • Method Details

    • get

      public static ConfigModeEncoder get()
    • configure

      public com.inductiveautomation.ignition.common.gson.GsonBuilder configure(com.inductiveautomation.ignition.common.gson.GsonBuilder builder)
      Configure the given GsonBuilder to serialize and deserialize resource collection objects, using "project" key terminology.
      Overrides:
      configure in class Encoder