json-lib

net.sf.json-lib : json-lib

Java library for transforming beans, maps, collections, java arrays and XML to JSON.

Jun 07, 2008
305 usages
90 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>net.sf.json-lib</groupId>
    <artifactId>json-lib</artifactId>
    <version>2.2.2</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the net.sf.json-lib:json-lib library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>net.sf.json-lib</groupId>
  <artifactId>json-lib</artifactId>
  <version>2.2.2</version>
</dependency>
</dependencies>

To install net.sf.json-lib:json-lib library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the net.sf.json-lib:json-lib library to the dependencies section of your build.gradle file:

dependencies {
implementation 'net.sf.json-lib:json-lib:2.2.2'
}

Gradle Kotlin DSL: Add the net.sf.json-lib:json-lib library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("net.sf.json-lib:json-lib:2.2.2")
}

3. Add dependency to a SBT Scala project

Scala: Add the net.sf.json-lib:json-lib library to your build.sbt file:

libraryDependencies += "net.sf.json-lib" % "json-lib" % "2.2.2"

4. Add dependency to a Grape project

Grape: Add an annotation net.sf.json-lib:json-lib library to your groovy script file:

@Grapes(
    @Grab('net.sf.json-lib:json-lib:2.2.2')
)

Compile Dependencies (10)

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (1)

Group / Artifact Usage
xmlunit » xmlunit 610

Recommended for You

More from Group

Java library for transforming beans, maps, collections, java arrays and XML to JSON.

305 usages
90 stars
© 2022 JMaven.com