testException = com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field code example
Example: testException = com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field
ObjectMapper mapper = new ObjectMapper();
mapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
mapper.setVisibility(VisibilityChecker.Std.defaultInstance().withFieldVisibility(JsonAutoDetect.Visibility.ANY));