-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
First of all, Thanks for your library.
I use it in my spring boot project. And I need snake_case property name in result json.
This is my config:
@Bean
public JsonViewSupportFactoryBean views() {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE);
return new JsonViewSupportFactoryBean(objectMapper);
}
But it doesn't work, I just get camelCase property name.
And I try @JsonNaming on classes, it doesn't work neither.
Does json-view not support custom property naming strategy?
Metadata
Metadata
Assignees
Labels
No labels