Convert default serialization to JSON

I have started a project using default serialization in Camunda 7.13. This has caused several issues when having to make breaking changes such as changing a data type of a field (for example from HashMap to actual object) and I wanted to switch it to JSON format.
Unfortunately, if I switch to JSON serialization, it cannot deserialize existing data, so it would be lost, which is an issue.
Is there any way to solve this issue? Or do I have to complete all running processes and then make the switch?

Hello @Cody_Newman ,

as Camunda 7 saves the serialization format along with the actual data, this should not be a problem.

To achieve json serialization, you can utilize the spin library, plugin and jackson-json dataformat.

I hope this helps


Thank you, Jonathan!
I will try your suggestion and let you know if it worked.
I previously did not add spin and the plugin.

1 Like