What is the Java Jackson Library? (Parser/Writer)

Java Conceptuel Diagram

About

Jackson is a parser and generator library that permits the creation of:

  • textual formats (Json, Xml, Csv, …) from Java objects.
  • Java objects from textual data

In other terms, it's a serialization/deserialization library.

Architecture

Jackson core is the low-level incremental (“streaming”) parser and generator abstractions with support out of the box for the JSON format.

The following data format can be plugged into the core:

And therefore, it makes possible to instantiate Java object from all this format with jackson-databind (Java object instantiation)

Tuto / Example - Steps





Discover More
Card Puncher Data Processing
Data Processing - Filtering Operations

filtering is a data processing operation that processes data through a filter where the data may be: deleted according to a predicate from a collection transformed (map operation) Therefore, you...
Java Conceptuel Diagram
How to break a reference chain error in Jackson? (StackOverflowException error)

When trying to serialize a POJO with Jackson's ObjectMapper, you may get this StackOverflowException error: This article explains to you how you can resolve it. This error happens when you have...
Java Conceptuel Diagram
How to exclude properties from the JSON output with Jackson?

This article lists the techniques that may be used with the Jackson libary to filter out some properties of an object when transforming it as a JSON. Filter There are 5 techniques that you can apply...
Java Conceptuel Diagram
How to read and write JSON data with Jackson Core?

This tutorial shows you how to read and write a JSON data structure with the core package of the Jackson Java serialization library. The core package is the package that manages all basic serialization...



Share this page:
Follow us:
Task Runner