We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
需求点调研:
大家可以看是否有这样的需求
The text was updated successfully, but these errors were encountered:
如果使用了spring-mvc,那么提交到controller的数据,通常是json,如果用map承接数据,那确实有这个需求,但是目前插件好像不支持map作为转换源。spring-mvc是可以用java bean承接数据的,如果按照规范,java bean必然是驼峰命名,此时通过配置MappingJackson2HttpMessageConverter实现属性驼峰和下划线的转换。 最后,看看其他同学有没有其他使用情况。
Sorry, something went wrong.
用jackson的@JsonProperty("服务传输数据的字段格式") 可以解决这种问题吧 实体依然按照驼峰命令 例如:
@JsonProperty("head-img-url") private String headImageUrl;
No branches or pull requests
需求点调研:
大家可以看是否有这样的需求
The text was updated successfully, but these errors were encountered: