Jackson custom serializer

In this post we will provide an example of how to configure a Jackson custom serializer when using the Jackson library. Setup You will need to add the following dependency

Add the following classes if you wish to follow the example below

  Jackson custom serializer The first example shows the default … Continue reading Jackson custom serializer

Jackson custom date serializer

In this post we will provide an example on Jackson custom date serializer. Jackson is a JSON processor library for java. It allows you to convert a java POJO to and from its JSON representation along with many other things. Setup You will need to add the following dependancy

Add the following class if … Continue reading Jackson custom date serializer

Read a CSV file in Java

In this post we will provide an example of how to read a CSV file in Java. This example is using the standard Java libraries, so you will not need to add any external dependencies. Read a CSV file in Java We have the following CSV file, it is a list of employee information

Continue reading Read a CSV file in Java