JSR 374 (JSON Processing) API

javax.json : javax.json-api

API module of JSR 374:Java API for Processing JSON

[Website] ·
329 usages
· 78 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>javax.json</groupId>
    <artifactId>javax.json-api</artifactId>
    <version>1.1.4</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 javax.json:javax.json-api library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>javax.json</groupId>
  <artifactId>javax.json-api</artifactId>
  <version>1.1.4</version>
</dependency>
</dependencies>

To install javax.json:javax.json-api library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the javax.json:javax.json-api library to the dependencies section of your build.gradle file:

dependencies {
implementation 'javax.json:javax.json-api:1.1.4'
}

Gradle Kotlin DSL: Add the javax.json:javax.json-api library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("javax.json:javax.json-api:1.1.4")
}

3. Add dependency to a SBT Scala project

Scala: Add the javax.json:javax.json-api library to your build.sbt file:

libraryDependencies += "javax.json" % "javax.json-api" % "1.1.4"

4. Add dependency to a Grape project

Grape: Add an annotation javax.json:javax.json-api library to your groovy script file:

@Grapes(
    @Grab('javax.json:javax.json-api:1.1.4')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage