Micronaut Serialization
by Sergio Del Amo CaballeroToday, Micronaut co-founder, Graeme Rocher, introduced Micronaut Serialization:
Micronaut Serialization can serialize and deserialize Java types (including Java 17 records) to and from JSON and other formats without using reflection.
While Jackson Databind remains the default JSON, you can now replace it with Micronaut Serialization, which uses build-time computed bean introspection and eliminates the need for reflection.
Graeme’s blog post is a great introduction to the motivation behind and the benefits of Micronaut Serialization.
If you want to learn more, read the module documentation and listen to the latest episode of the Micronaut Podcast, in which I talk to Graeme about Micronaut Serialization.
Plus, join me tomorrow at Micronaut Live and follow along as I replace Jackson Databind with Micronaut Serialization in the newsletter application.