This project contains the general-purpose data-binding functionality and tree-model for Jackson. It builds on the core streaming parser/generator package, and uses Jackson Annotations for configuration
While the original use case was JSON data-binding, it can typically be used for other data formats as well, as long as parser and generator implementations exist. Naming of classes uses word 'JSON' in many places even though there is no actual hard dependency to JSON format.
Project contains versions 2.0 and above: source code for earlier (1.x) versions is available from Codehaus SVN repository
Note that the main differences compared to 1.0 core jar are:
- Maven build instead of Ant
- Java package is now
com.fasterxml.jackson.databind
(instead oforg.codehaus.jackson.map
)
Functionality of this package is contained in
Java package com.fasterxml.core.databind
.
To use databinding, you need to use following Maven dependency:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.0.0</version>
</dependency>
or download jars from Maven repository or Download page. Core jar is a functional OSGi bundle, with proper import/export declarations.
Since package also depends on '''jackson-core''' and '''jackson-databind''' packages, you will need to download these if not using Maven; and you may also want to add them as Maven dependency to ensure that compatible versions are used. If so:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.0.0</version>
</dependency>
(TO BE WRITTEN)
(TO BE WRITTEN)
(TO BE WRITTEN)
(TO BE WRITTEN)