Hi,

We use JaxbAnnotationIntrospector as a secondary interceptor. Also we use 
default typing as a property @class.

We found that if we have a property in class:
private Object value;
It works as expected for java.lang.Double and com.example.Person instances 
in"value" property. 
But if we use following code:
@XmlElement(type=Object.class)
private Serializable value;

The solution stops working. I thing that parent validation realized in 
JaxbAnnotationIntrospector  doesn't work well with Object for interfaces. 
Even if it is workarounded, I faced another problem that says that 
serialization for Double is not found.

Is it a bug?

Thanks, Marat Kamalov.


-- 
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/610ab7e2-4508-4f98-acc1-55a8af1981e7n%40googlegroups.com.

Reply via email to