Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.codehaus.jackson versus com.fasterxml.jackson.core

Tags:

java

json

jackson

People also ask

What is org Codehaus Jackson?

org.codehaus.jackson » jackson-aslApache. Jackson is a high-performance JSON processor (parser, generator) Last Release on Dec 11, 2008.

What is Jackson FasterXML core?

fasterxml. jackson. core Description. Main public API classes of the core streaming JSON processor: most importantly JsonFactory used for constructing JSON parser ( JsonParser ) and generator ( JsonGenerator ) instances.

What is FasterXML Jackson used for?

jackson. databind. Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees ( JsonNode ), as well as writing Java Objects and trees as JSON.

What is Jackson Databind?

Advertisements. Data Binding API is used to convert JSON to and from POJO (Plain Old Java Object) using property accessor or using annotations. It is of two type. Simple Data Binding - Converts JSON to and from Java Maps, Lists, Strings, Numbers, Booleans and null objects.


org.codehaus.jackson is an older version of Jackson.

com.fasterxml.jackson represents the new project and package.

The reason is, Jackson has moved from Codehaus to Github when releasing Jackson 2.

See here for details.

I would recommend removing org.codehaus.jackson references from your POM, re-building and looking for errors (not likely but possible).

If you find any, you can adapt the code using deprecated API to the newer Jackson version's API.