@JsonIgnoreProperties(ignoreUnknown=false) is not working in Spring 4.2.0 and upper version

后端 未结 4 1940
无人共我
无人共我 2020-12-21 05:24

@JsonIgnoreProperties(ignoreUnknown=false) is not working with spring 4.2.0 and upper version of spring. But it is working with 4.0.4 and 4.0.1 . I am using spring 4.2.8 and

4条回答
  •  时光取名叫无心
    2020-12-21 06:02

    @Aarya's answer did not work for me right out of box, but gave me a great hint to look around. So this is what works for me. Given that my Spring is 4.3.12.RELEASE and jackson is 2.9.2

    
        
            
                
                        
                
            
        
    
    

提交回复
热议问题