fastjson

com.alibaba : fastjson

Fastjson is a JSON processor (JSON parser + JSON generator) written in Java

[Website] ·
3.3k usages
· 24k stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>1.2.79</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the com.alibaba:fastjson library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>com.alibaba</groupId>
  <artifactId>fastjson</artifactId>
  <version>1.2.79</version>
</dependency>
</dependencies>

To install com.alibaba:fastjson library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the com.alibaba:fastjson library to the dependencies section of your build.gradle file:

dependencies {
implementation 'com.alibaba:fastjson:1.2.79'
}

Gradle Kotlin DSL: Add the com.alibaba:fastjson library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("com.alibaba:fastjson:1.2.79")
}

3. Add dependency to a SBT Scala project

Scala: Add the com.alibaba:fastjson library to your build.sbt file:

libraryDependencies += "com.alibaba" % "fastjson" % "1.2.79"

4. Add dependency to a Grape project

Grape: Add an annotation com.alibaba:fastjson library to your groovy script file:

@Grapes(
    @Grab('com.alibaba:fastjson:1.2.79')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (17)

Test Dependencies (0)

Group / Artifact Usage