在pom.xml添加依赖
<dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-mapper-asl</artifactId> <version>1.9.13</version> </dependency>
在application.yml中
spring: jackson: mapper: accept-case-insensitive-properties: true
即可
标签:mapper,jackson,请求,spring,忽略,大小写 From: https://www.cnblogs.com/cvol/p/16639471.html