Add a data class to Spring Boot project

Edit pageLast modified: 07 October 2024

In this part of the tutorial, you'll add some more functionality to the application and discover more Kotlin language features, such as data classes. It requires changing the MessageController class to respond with a JSON document containing a collection of serialized objects.