Skip to content

Handle, in the same endpoint, variable requests in Jackson by using custom deserializers and without polluting our domain classes with annotations and external libraries.

Notifications You must be signed in to change notification settings

redamessoudi/polymorphic-deserialization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polymorphic deserialization with Jackson and no annotations

This repository contains an example about how to handle, in the same endpoint, variable model requests in Jackson by using custom deserializers and without polluting our domain classes with annotations and external libraries.

Article

Full post detailed the process available here :

https://redamessoudi.com/jackson-polymorphic-deserialization-free-annotations/

Code

I favor simplified code over production-ready code. Don't consider it as best practices, instead use it to understand the goal of the article.

I consider simple and explainable code as a first step to resolve problems, best practices and design-patterns comes after.

About

Handle, in the same endpoint, variable requests in Jackson by using custom deserializers and without polluting our domain classes with annotations and external libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages