Thanks Tatu,

good to know about both alternatives. I'll use you recommendation, the 
wrapper. I also found it on SO here 
<https://stackoverflow.com/questions/23172718/how-to-make-polymorphic-jackson-serialization-working-with-map>,
 
where they used the old/deprecaded mapper.writerWithType()

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/b401bc11-8ead-48d2-9684-335ac02d60fb%40googlegroups.com.

Reply via email to