spring boot 当参数传入开头多个0时,报错:JSON parse error: Invalid numeric value: Leading zeroes not allowed

原因是:

Jackson解析json配置的问题

在配置文件中设置下:

spring.jackson.parser.allow-numeric-leading-zeros=true

 

posted @ 2019-03-14 19:02  低调的小白  阅读(5986)  评论(0编辑  收藏  举报