Class ConfigModeEncoder
java.lang.Object
com.inductiveautomation.ignition.common.resourcecollection.json.Encoder
com.inductiveautomation.ignition.common.resourcecollection.json.ConfigModeEncoder
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.inductiveautomation.ignition.common.gson.GsonBuilderconfigure(com.inductiveautomation.ignition.common.gson.GsonBuilder builder) Configure the given GsonBuilder to serialize and deserialize resource collection objects, using "project" key terminology.static ConfigModeEncoderget()Methods inherited from class Encoder
getCollectionManifestFilename, getGson, lastModificationFromGson, lastModificationFromJson, lastModificationToGson, resourceCollectionFromJson, resourceCollectionFromJson, resourceCollectionFromJson, resourceCollectionManifestFromJson, resourceCollectionManifestFromJson, resourceCollectionManifestToJson, resourceCollectionManifestToStream, resourceCollectionToJson, resourceCollectionToStream, resourceManifestFromJson, resourceManifestFromJson, resourceManifestToGson, resourceManifestToJson, resourceManifestToStream
-
Constructor Details
-
ConfigModeEncoder
public ConfigModeEncoder()
-
-
Method Details
-
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.
-