I am using Jersey 1.0 http-client to call a resource and deserialize the response JSON like this:
Client client = Client.create(new DefaultClientConfig())
ClientResponse clientResponse = client.resource("http://some-uri").get(ClientResponse.class)
MyJsonRepresentingPOJO pojo = clientResponse.getEntity(MyJsonRepresentingPOJO.class)
Now the response JSON has some new fields and I am getting following exception:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "xyz"
How can I change jackson's deserialization-mode to NON-STRICT, so that it will ignore the new fields?