jackson 2.2.2
由于vo中缺少json的某个字段属性引起
2种解决方法
1:vo中添加注解@JsonIgnoreProperties(ignoreUnknown = true)
2. mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
时间: 2024-10-25 15:00:06
jackson 2.2.2
由于vo中缺少json的某个字段属性引起
2种解决方法
1:vo中添加注解@JsonIgnoreProperties(ignoreUnknown = true)
2. mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);