Lombok @NonNull

1. Overview It is important to include null checks into both generated and handwritten methods. In this tutorial, we'll look at the Lombok @NonNull...

Continue Reading

Lombok @EqualsAndHashCode

1. Overview In this tutorial, we'll look at the Lombok @EqualsAndHashCode annotation to generate the equals and hashCode methods automatically. 2. ...

Continue Reading

Lombok @ToString

1. Introduction In this tutorial, we'll look at the Lombok @ToString annotation to generate the toString method automatically. 2. Maven Dependency ...

Continue Reading

Lombok @Getter and @Setter

1. Overview In this tutorial, we'll look at the Lombok @Getter and @Setter annotations to generate getter and setter methods automatically. 2. Use ...

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