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:

CIB seven 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.cibseven.spin</groupId>
      <artifactId>cibseven-spin-bom</artifactId>
      <scope>import</scope>
      <type>pom</type>
      <version>1.1.0</version>
    </dependency>
  </dependencies>
</dependencyManagement>
<dependencies>
  <dependency>
    <groupId>org.cibseven.spin</groupId>
    <artifactId>cibseven-spin-core</artifactId>
  </dependency>

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

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