FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

springboot-learning/springboot-json-format/readMe.md at master · algorithm001/springboot-learning · GitHub

Latest commit

 

History

History
11 lines (7 loc) · 295 Bytes

File metadata and controls

11 lines (7 loc) · 295 Bytes

本例主要演示如何通过自定义jackson格式,解决比如nPrice渲染到前端变成nprice

核心实现类

通过自定义继承PropertyNamingStrategy

通过在yml文件配置

spring: jackson: property-naming-strategy: com.github.lybgeek.jackson.CustomPropertyNamingStrategy


Back | FazBrowse Home | New Git URL