JSON Patch in Ignition

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:

  1. Should the JARs go into user-lib/jars on the Gateway?

  2. Has anyone successfully used a JSON Patch library inside Perspective or Gateway scripts?

  3. 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.

What's the actual thing you're trying to do, though?