arangodb / java-velocypack-module-scala

Apache License 2.0
6 stars 3 forks source link
arangodb java scala velocypack vpack

ArangoDB-Logo

[DEPRECATED]: velocypack-module-scala has been deprecated.

Please consider using jackson-dataformat-velocypack instead. For usage in the ArangoDB Java driver, refer to the official serialization documentation.


ArangoDB VelocyPack Java Module Scala

Maven Central

Scala module for Java VelocyPack.

Added support for:

Maven

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>

Compile

mvn clean install

Usage / registering module

val vpack: VPack = new VPack.Builder().registerModule(new VPackScalaModule).build

Learn more