Change Property Name With Jackson

1. Overview In this tutorial, we'll look at changing property names during serialization and deserialization. As a result, a field name in Java obj...

Continue Reading

Formatting Date For Serialization using Jackson

1. Overview In this tutorial, we'll investigate how to format date fields for serialization using Jackson. Firstly, we'll look at Jackson's default...

Continue Reading

How to Ignore Properties Only For Serialization With Jackson

1. Overview In this tutorial, we're going to look at how we can ignore properties for serialization, but not for deserialization. So when Jackson i...

Continue Reading

Field or Method Value in Jackson Deserialization

1. Overview In this tutorial, we'll look at how Jackson sets property values during deserialization. For example, we'll investigate whether Jackson...

Continue Reading

Field or Method Value in Jackson Serialization

1. Overview In this tutorial, we'll look at how Jackson retrieves property values during serialization. For example, we'll investigate whether Jack...

Continue Reading

Ignore Property With Jackson

1. Overview In this tutorial, we'll investigate how we can ignore some properties of a class during serialization and deserialization using Jackson...

Continue Reading

How to Handle Unknown Fields With Jackson

1. Overview In this tutorial, we'll look at how to handle unknown fields during deserialization using Jackson. In other words, we have a field in t...

Continue Reading

Deserialize into Private Fields using Jackson

1. Overview In this tutorial, we'll look at how to deserialize with private fields using Jackson. You can also check out Jackson serialization with...

Continue Reading

Serialize Package-Private Fields using Jackson

1. Overview In this tutorial, we'll investigate how we can serialize properties with different access modifiers. Additionally, we'll look at the us...

Continue Reading

Control How Jackson Serializes Null Values

1. Overview In this tutorial, we'll look at serialization of null values. By default, Jackson serializes objects with all visible properties, but w...

Continue Reading