Project Binaries

I’m looking for how Ignition serializes project data into binaries. i.e. projects//ignition/event-scripts/data.bin

SDK Documentation here and here indicate that its a form of XML. But can I read it outside of the scope of Ignition?

For context, I’m working on a process that extracts python from Ignition projects to lint it and enforce rules for security within a DevOps process.

You won’t be able to deserialize this outside Ignition. It’s a mix of XML with embedded binary serialized objects.

At some point in the future we’re going to start converting the storage of things like scripts to plaintext in as many places as we can, but it’s not quite high enough priority to happen yet.

1 Like