Globally ignore class in Jackson
问题 Jackson has ability to skip unknow properties globally using DeserializationFeature , but I can't find any global config to ignore whole class from being parsed. I have class with two methods with the same name but with different arguments, so I want to set this class as ignorable globally(using objectMapper object) not just by adding any annotations to model class. May be someone faced with such problem. Sorry for bad English. 回答1: One option is to mark the type you wish to ignore with