arangodb / java-velocypack-module-scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:Scala 100.0%