XML Serialization and Deserialization with Jackson In this section, we will discuss another important concept of Jackson, i.e., serialization and deserialization of…
Setup Environment
-
-
Serialize Date by using Jackson In Java, Date is one of the most important data types. When we work with REST API,…
-
Disable Annotation Usually we need to disable the Jackson annotation after completing its work. So, we use the disable() method of ObjectMapper…
-
General Annotations in Jackson General annotations include several basic annotations which we use in serialization and deserialization. JsonProperty and JsonView are the…
-
Jackson Change Name of the Field When we serialize a Java Object, we need to change the name of a specific field…
-
Jackson Ignore Null Fields In this section, we will understand how we can ignore the null fields at the time of serializing…
-
Jackson Ignore Properties on Marshalling In this section, we will understand how we can ignore the fields at the time of serializing…
-
Jackson JSON Views JSON Views is another important element of Jackson. JSON Views is also used for serializing and deserializing Java objects.…
-
Map Serialization and Deserialization with Jackson Just like Java objects, we can serialize and deserialize Java Map by using Jackson. We can…
-
Miscellaneous Annotations in Jackson Custom annotation and MixIn annotation come in miscellaneous annotations. Miscellaneous annotations are used at the time of serializing…