
Jackson JSON Views
1. Overview In this tutorial, we’ll go over how to use Jackson JSON Views to serialize/deserialize objects, customize the views and finally – how to […]
1. Overview In this tutorial, we’ll go over how to use Jackson JSON Views to serialize/deserialize objects, customize the views and finally – how to […]
1. Overview In this tutorial, we’ll serialize dates with Jackson. We’ll start by serializing a simple java.util.Date, then Joda-Time, and finally, the Java 8 DateTime. 2. […]
1. Overview In this quick tutorial, we will analyze the marshalling of entities with no getters and the solution for the Jackson JsonMappingException exception. If you want to […]
1. Overview This quick tutorial will show how to control the way Java Enums are serialized and deserialized with Jackson 2. To dig a little deeper […]
1. Overview This tutorial is going to illustrate how we can use Jackson to only serialize a field if it meets a specific, custom criteria. For […]
1. Overview In this article, we’ll look at serialization and deserialization of Java maps using Jackson. We’ll illustrate how to serialize and deserialize Map<String, String>, Map<Object, String>, and Map<Object, Object> to and […]
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, […]
1. Introduction HttpClient is part of the Apache HttpComponents project that provides a toolset of low-level Java components focused on HTTP and associated protocols. The most […]
1. Introduction Apache HttpClient is a low-level, lightweight client-side HTTP library for communicating with HTTP servers. In this tutorial, we’ll learn how to configure the […]
1. Overview In this article, we will go over the basics of connection management within the HttpClient 4. We’ll cover the use of BasichttpClientConnectionManager and PoolingHttpClientConnectionManager to enforce a […]
1. Overview In this tutorial we’ll illustrate the most common use cases of the Apache HttpAsyncClient – from basic usage, to how to set up a proxy, how […]