MVN

io.github.palexdev : gson

Maven & Gradle

Aug 07, 2021
0 stars

gson · Gson is a Java library that can be used to convert Java Objects into their JSON representation (now with fixed Long serialization and deserialization).

<dependency>
    <groupId>io.github.palexdev</groupId>
    <artifactId>gson</artifactId>
    <version>2.9.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of io.github.palexdev : gson to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.9.0

All Versions

Choose a version of io.github.palexdev : gson to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.9.x
gson-2.9.0

How to add a dependency to Maven

Add the following io.github.palexdev : gson maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>io.github.palexdev</groupId>
    <artifactId>gson</artifactId>
    <version>2.9.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following io.github.palexdev : gson gradle dependency to your build.gradle file:

implementation 'io.github.palexdev:gson:2.9.0'

Gradle Kotlin DSL: Add the following io.github.palexdev : gson gradle kotlin dependency to your build.gradle.kts file:

implementation("io.github.palexdev:gson:2.9.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following io.github.palexdev : gson sbt scala dependency to your build.sbt file:

libraryDependencies += "io.github.palexdev" % "gson" % "2.9.0"

Advertisement