spring boot 当参数传入开头多个0时,报错:JSON parse error: Invalid numeric value: Leading zeroes not allowed
原因是:
Jackson解析json配置的问题
在配置文件中设置下:
spring.jackson.parser.allow-numeric-leading-zeros=true

hello world!!!
原因是:
在配置文件中设置下:
spring.jackson.parser.allow-numeric-leading-zeros=true
