配置内容spring:# 忽略未定义的属性 jackson:deserialization:fail-on-unknown-properties:false随便一个类AutowiredprivateObjectMapperobjectMapper;PostConstructpublicvoidcheck(){System.out.println(objectMapper.getDeserializationConfig().isEnabled(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES));}