How to Deserialize JSON to Kotlin Data Classes using Spring Boot and Jackson

Posted on Mar 14, 2021 in
Reading time: 1 minute

Intro

In this tutorial, I’ll demo how to use Spring Boot and Jackson to deserialize JSON into Kotlin classes. This is handy when consuming third-party APIs using RestTemplate or WebClient. I’ll also cover custom deserializers and how you can let Spring Boot manage them using the JsonComponent annotation.

🍿 Watch on YouTube or get the code from GitHub

The Dead Letter Queue

Love what you're seeing? By subscribing to my newsletter, not only will you be the first to know about fresh tutorials and videos, but you'll also unlock:

Subscribe now and become a part of our growing tech tribe!