Add JSON Library into POM - Java JSON

Java examples for JSON:JSON Creation

Introduction

The following lines are excerpted from the POM file (Project Object Module for Maven), indicating how to add the dependency.

<dependencies> 
        <dependency> 
            <groupId>javax.json</groupId> 
            <artifactId>javax.json-api</artifactId> 
            <version>1.0</version> 
        </dependency> 
        <dependency> 
            <groupId>org.glassfish</groupId> 
            <artifactId>javax.json</artifactId> 
            <version>1.0.4</version> 
        </dependency> 
... 
</dependencies>

Related Tutorials