Posted in Java

Custom Jackson Joda DateTime Deserializer

This tutorial shows how to deserialize date format when unmarshaling JSON using Jackson. The custom annotation will be created in order to pass the date format using annotation.

Continue Reading... Custom Jackson Joda DateTime Deserializer
Posted in Java

Custom Jackson Joda DateTime Serializer

This tutorial shows how to serialize date format when marshaling JSON using Jackson. The custom annotation will be created in order to pass the date format using annotation.

Continue Reading... Custom Jackson Joda DateTime Serializer
Posted in Java

Custom annotation example in Java

Introduction This tutorial shows, what is an annotation and how to write a custom annotation. I have taken the below concepts from Oracle documentation from the link http://docs.oracle.com/javase/tutorial/java/annotations/basics.html. Annotations, a form of metadata, provide data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate. Annotation…

Continue Reading... Custom annotation example in Java