users@jersey.java.net

[Jersey] Re: Ignore unknown JSON properties

From: nemek <andreagasta_at_tiscali.it>
Date: Sun, 9 Oct 2011 11:23:09 -0700 (PDT)

Hello,

I have a problem with the @JsonIgnoreProperties(ignoreUnknown=true)
annotation.
I'm using the jersey framework (v 1.7) with the POJOMappingFeature and
jackson library (v 1.7.7).
I have annotated all my bean with the @JsonIgnoreProperties but for some
reason in deserialization process the container throws a
org.codehaus.jackson.map.exc.UnrecognizedPropertyException with this message
"Unrecognized field "id_control"".

I'm doing some mistake in configuration? Do you have some suggestion?

Thank you.

--
View this message in context: http://jersey.576304.n2.nabble.com/Ignore-unknown-JSON-properties-tp6217696p6874902.html
Sent from the Jersey mailing list archive at Nabble.com.