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

public class ProjectEncoder 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 more generic "resource collection" terminology. The methods on this class use the "project" bias.
  • Constructor Details

    • ProjectEncoder

      public ProjectEncoder()
  • Method Details

    • get

      public static ProjectEncoder 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