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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -