Class ProjectEncoder
java.lang.Object
com.inductiveautomation.ignition.common.resourcecollection.json.Encoder
com.inductiveautomation.ignition.common.resourcecollection.json.ProjectEncoder
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.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.static ProjectEncoder
get()
Methods inherited from class com.inductiveautomation.ignition.common.resourcecollection.json.Encoder
getCollectionManifestFilename, getGson, lastModificationFromGson, lastModificationFromJson, lastModificationToGson, resourceCollectionFromJson, resourceCollectionFromJson, resourceCollectionFromJson, resourceCollectionManifestFromJson, resourceCollectionManifestFromJson, resourceCollectionManifestToJson, resourceCollectionManifestToStream, resourceCollectionToJson, resourceCollectionToStream, resourceManifestFromJson, resourceManifestFromJson, resourceManifestToGson, resourceManifestToJson, resourceManifestToStream
-
Constructor Details
-
ProjectEncoder
public ProjectEncoder()
-
-
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.
-