
Jackson vs Gson
1. Introduction In this article, we’ll compare the Gson and Jackson APIs for serializing and deserializing JSON data to Java objects and vice-versa. Gson and Jackson are complete libraries […]
1. Introduction In this article, we’ll compare the Gson and Jackson APIs for serializing and deserializing JSON data to Java objects and vice-versa. Gson and Jackson are complete libraries […]
1. Overview In this article, we’re going to take a look at the unmarshalling process with Jackson 2.x – specifically at how to deal with JSON […]
1. Introduction In this article, we’ll give an overview of the Optional class, and then explain some problems that we might run into when using it with […]
1. Overview This quick tutorial will show how to use Jackson 2 to convert a JSON String to a JsonNode (com.fasterxml.jackson.databind.JsonNode). If you want to dig deeper and […]
1. Overview In this tutorial, we’re going to look at how to serialize Java objects to XML data using Jackson 2.x and deserialize it back to […]
1. Overview This quick tutorial illustrates how to change the name of a field to map to another JSON property on serialization. If you want to dig […]
1. Overview This quick tutorial is going to cover how to set up Jackson to ignore null fields when serializing a java class. If we want to […]
1. Overview This tutorial will show how to ignore certain fields when serializing an object to JSON using Jackson 2.x. This is very useful when the Jackson […]
1. Overview This tutorial focuses on understanding the Jackson ObjectMapper class and how to serialize Java objects into JSON and deserialize JSON string into Java objects. To […]
1. Overview In this tutorial, we’ll do a deep dive into Jackson Annotations. We’ll see how to use the existing annotations, how to create custom ones, […]