I’m looking at adding JSON Patch support into Ignition using existing Java libraries instead of writing patch logic manually.
From what I can tell, libraries like:
-
com.github.fge:json-patch -
java-json-tools:json-patch -
Jackson dependencies
could potentially work inside Ignition scripting/modules.
What’s the recommended way to import and use external JARs in Ignition for something like this?
Questions:
-
Should the JARs go into
user-lib/jarson the Gateway? -
Has anyone successfully used a JSON Patch library inside Perspective or Gateway scripts?
-
Is there a preferred modern library compatible with Ignition’s Java version?
Example goal would be something like:
from com.github.fge.jsonpatch import JsonPatch
and then applying RFC 6902 patches directly in scripting.
Would appreciate any guidance or best practices from others who’ve integrated third-party Java libraries into Ignition.