Is it possible to selectively determine when the @JsonFilter annotation gets used at runtime?
I\'m getting JsonMappingException exception (see below) when I don\'t p
For Spring Boot / Jackson configuration just add:
@Configuration public class JacksonConfiguration { public JacksonConfiguration(ObjectMapper objectMapper) { objectMapper.setFilterProvider(new SimpleFilterProvider().setFailOnUnknownId(false)); } }