How To Install Java Artifact net.sf.json-lib.json-lib v2.2.2

net.sf.json-lib json-lib 2.2.2

Introduction

In this article, we'll learn how to install Java artifact json-lib from net.sf.json-lib group in version 2.2.2. The artifact is available in 14 versions: 2.4 2.3 2.2.3 2.2.2 2.2.1 2.2 2.1 2.0 1.1 1.0.1 1.0 0.9 0.8 0.7.1 . The json-lib project has been released under The Apache Software License, Version 2.0 license, and has its own website at: http://json-lib.sourceforge.net .

How To Install Java Artifact net.sf.json-lib.json-lib In Version 2.2.2

To install the json-lib artifact in version 2.2.2 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses json-lib dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (10)

Test dependencies (1)

Licenses

Developers

Contributors