What's about deserializing polymorhic Json into an Object? E.g.:
mapper.readValue("{\"@class\":\"java.lang.Exception\",\"message\":\"Test\"}"
, Object.class).getClass()
will be a LinkedHashMap, rather than an Exception. Is there a way to
achieve this? I know, that the resolver could always return true, but than
I'll get "*Missing type id*" for those objects, that are not polymorphic.
Thanks a lot in advance
Marc
--
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/f767e3a3-b143-43fb-b70e-cff57562ef24%40googlegroups.com.