Jackson serializing bean with strange naming -


i using jackson 2.8.7, via spring boot 1.5.2, serialize bean json. class has property name:

public string getcsystem() {     return csystem; } 

in json field such as:

{     "csystem": "xxx" } 

where "s" lowercased. there way fix this? i've tried setting in application.properties:

spring.jackson.property-naming-strategy=lower_camel_case 

but had no effect, because default anyway.

so: idea? have write custom naming strategy?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -