Skip to content

arangodb/java-velocypack-module-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • scala.Option
  • scala.collection.immutable.List
  • scala.collection.immutable.Map
  • scala.math.BigInt
  • scala.math.BigDecimal

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