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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -