chicio / Custom-Jackson-Module

🧱An example Kotlin project created for my blog post "A custom module for Jackson object mapper using Java Service Provider". 🧱

Home Page:https://www.fabrizioduroni.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom module Jackson

GitHub license

An example Kotlin project created for my blog post "A custom module for Jackson object mapper using Java Service Provider".

Description

This repository contains an example of a custom module for Jackson that levearage the power of Java SPI, useful in case of custom serialization/deserialization. Below an article quote:

...During the definition of a new microservice we had to customize the object mapper used by Axon, defined in one maven module (that will probably be integrated in our app-framework framework if we decide to stick with it) from one of our new app specific module without creating any kind of coupling/dependencies. This is how me and Alex Stabile discovered the power of Java Service Provider interface, used by Jackson Object Mapper to register external custom Modules in order to apply application specific serialization/deserialization procedures...

Click here to read the post.

About

🧱An example Kotlin project created for my blog post "A custom module for Jackson object mapper using Java Service Provider". 🧱

https://www.fabrizioduroni.it

License:MIT License


Languages

Language:Kotlin 100.0%