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
Post a Comment