Skip to content

This is a sample to demo challenge in writing root element type info using jackson databind lib

Notifications You must be signed in to change notification settings

srusanvin/kotlinabstractclassserializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This sample is to demo jackson-databind lib issue which is not able to add type details of root node while serializing a kotlin data class which extends an abstract class using jackson databind Polymorphic deseriazer activatedefaultTyping

Serialized payload miss type details of root node, example

current:

{"lastInSeason":true,"synopsis":["java.util.ArrayList",["my synopsis1"]]}

Expected:

{"@class":"Movie","lastInSeason":true,"synopsis":["java.util.ArrayList",["my synopsis1"]]}

About

This is a sample to demo challenge in writing root element type info using jackson databind lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages