Tag Jackson

Serialize Java 8 LocalDate With Jackson In Spring Boot

This tutorial is going to illustrate how to serialize Java 8 LocaleDate with Jackson in Spring Boot. Besides, we also get through how to serialize other types of Java 8 Date Time API. 1. Overview Java 8 introduced us a… Continue Reading →

Ignore Unknown Properties or New Fields in Jackson

This quick tutorial is going to cover how to ignore unknown properties or new fields in Jackson. It is necessary for situations which we encounter unknown JSON properties that can not bind to existing Java objects, but we need to… Continue Reading →

How To Convert A Java Object To Json

This tutorial is going to cover how to convert a Java object to JSON string and vice versa using both Jackson 2  and Gson libraries. 1. Preparation 1.1. POJO Firstly, let’s see a POJO class which will be converted to… Continue Reading →

© 2020 HowToProgram — Powered by WordPress

Theme by Anders NorenUp ↑

NewsletterSubscribe To Learn More