Jackson is ignoring spring.jackson.properties in my spring boot application

后端 未结 6 1253
没有蜡笔的小新
没有蜡笔的小新 2021-02-19 06:01

Jackson is ignoring spring.jackson.property-naming-strategy=SNAKE_CASE. I am using springBootVersion 1.4.2.RELEASE. In my application.properties file, I have added

6条回答
  •  无人共我
    2021-02-19 06:52

    For the record, to solve a similar problem I added this to my application.properties and it worked well: spring.jackson.property-naming-strategy=SNAKE_CASE

    Note, you don't need to fully qualify the SNAKE_CASE like in other answers

提交回复
热议问题