Skip to content

Installation

Gradle

Added the repository

repositories {
    maven {
        url = uri("https://jitpack.io")
    }
}

Added the serialization library

dependencies {
    implementation("com.github.airflux.airflux:airflux-serialization-core:version")
    implementation("com.github.airflux.airflux:airflux-serialization-dsl:version")
    implementation("com.github.airflux.airflux:airflux-serialization-std:version")
}

Added the parser for JSON

dependencies {
    implementation("com.github.airflux.airflux:airflux-jackson-parser:version")
    implementation("com.fasterxml.jackson.core:jackson-core:2.13.3")
    implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.3") {
        exclude(group = "org.jetbrains.kotlin")
    }
}

Maven

Added the repository

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

Added the serialization library

<dependencies>
    <dependency>
        <groupId>com.github.airflux.airflux</groupId>
        <artifactId>airflux-serialization-core</artifactId>
        <version>version</version>
    </dependency>
    <dependency>
        <groupId>com.github.airflux.airflux</groupId>
        <artifactId>airflux-serialization-dsl</artifactId>
        <version>version</version>
    </dependency>
    <dependency>
        <groupId>com.github.airflux.airflux</groupId>
        <artifactId>airflux-serialization-std</artifactId>
        <version>version</version>
    </dependency>
</dependencies>

Added the parser for JSON

<dependencies>
    <dependency>
        <groupId>com.github.airflux.airflux</groupId>
        <artifactId>airflux-jackson-parser</artifactId>
        <version>version</version>
    </dependency>
    <dependency>
        <groupId>com.github.airflux.airflux</groupId>
        <artifactId>jackson-core</artifactId>
        <version>2.13.3</version>
    </dependency>
    <dependency>
        <groupId>com.github.airflux.airflux</groupId>
        <artifactId>jackson-module-kotlin</artifactId>
        <version>2.13.3</version>
    </dependency>
</dependencies>