Let's say I have a generic interface Inter<T>, configured via 
@JsonDeserialize(as 
= Impl.class) to always deserialize as Impl.
Can I somehow ask Jackson to fully refine the a type into its 
deserializable version, so that for e.g.  Inter<Inter<Number>> I get 
Impl<Impl<Number>>?

I'm aware of the following methods that get me halfway there:

DeserializerFactory#mapAbstractType(...)
AnnotationIntrospector#refineDeserializationType(...)

But with both of these I get Impl<Inter<Number>> and not Impl<Impl<Number>>, 
i.e. only one level got refined.
If there a method to get recursively refined type? Also, is any of the 2 
methods I listed the correct way to refine one level?
Is this usage even supported or am I hacking at internal stuff here?

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/3de322cb-995b-4d07-87a5-fd10d62893fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to