Please consider using jackson-dataformat-velocypack instead. For usage in the ArangoDB Java driver, refer to the official serialization documentation.
Scala module for Java VelocyPack.
Added support for:
- scala.Option
- scala.collection.immutable.List
- scala.collection.immutable.Map
- scala.math.BigInt
- scala.math.BigDecimal
To add the dependency to your project with maven, add the following code to your pom.xml:
<!-- Scala 2.11 -->
<dependency>
<groupId>com.arangodb</groupId>
<artifactId>velocypack-module-scala_2.11</artifactId>
<version>1.2.0</version>
</dependency>
<!-- Scala 2.12 -->
<dependency>
<groupId>com.arangodb</groupId>
<artifactId>velocypack-module-scala_2.12</artifactId>
<version>1.2.0</version>
</dependency>
mvn clean install
val vpack: VPack = new VPack.Builder().registerModule(new VPackScalaModule).build