jackson Getting started with jackson

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!


This section provides an overview of what jackson is, and why a developer might want to use it.

It should also mention any large subjects within jackson, and link out to the related topics. Since the Documentation for jackson is new, you may need to create initial versions of those related topics.


Jackson is a Java JSON library. As such, setting it up is as simple as adding it to the classpath of the Java project where its usage is intented.

Firstly, the jars need to be downloaded to a location on the local disk:

  • jackson-core
  • jackson-annotations (leverages annotation usage)
  • jackson-databind (general data-binding functionality)

They can be found for download in one of the central Maven repositories, under the com.fasterxml.jackson.core group:


What is now left is adding the libraries on the classpath when running the Java application:

java -cp "<<jackson_lib_location>>/*" my.package.MainClass

Alternatively, using Maven, the dependencies just need to be added to the pom.xml file of the project:




Ivy version:

<dependency org="com.fasterxml.jackson.core" name="jackson-core" rev="2.8.8"/>
<dependency org="com.fasterxml.jackson.core" name="jackson-annotations" rev="2.8.8"/>
<dependency org="com.fasterxml.jackson.core" name="jackson-databind" rev="2.8.8"/>

Gradle version:

dependencies {
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.8.8'
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.8.8'
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.8'

Got any jackson Question?