Spin Dataformat Reference

Spin is a library for simple XML and JSON processing on the JVM (Java Virtual Machine), targeting Java and JVM-based scripting languages such as Groovy, JRuby, Jython, JavaScript and Java Expression Language. It provides a comprehensible fluent API for working with different data formats through lightweight wrapper objects.

Spin can be used in any Java-based application by adding the following maven dependency to your pom.xml file:

Camunda BOM

If you use Spin in combination with the CIB seven process engine, please consult the process engine user guide on Spin integration on how to properly integrate Spin with the engine. Please import the CIB seven BOM to ensure that you use the Spin version matching your process engine version.

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.camunda.spin</groupId>
      <artifactId>camunda-spin-bom</artifactId>
      <scope>import</scope>
      <type>pom</type>
      <version>7.22.0-cibseven</version>
    </dependency>
  </dependencies>
</dependencyManagement>
<dependencies>
  <dependency>
    <groupId>org.camunda.spin</groupId>
    <artifactId>camunda-spin-core</artifactId>
  </dependency>

  <dependency>
    <groupId>org.camunda.spin</groupId>
    <artifactId>camunda-spin-dataformat-all</artifactId>
  </dependency>
</dependencies>

CIB seven’s version of Spin is published to artifacts.cibseven.de. See the instruction how to use it.