Skip to content
New issue

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

变量名自动变驼峰法的建议 #24

Closed
ikidou opened this issue Sep 28, 2015 · 2 comments
Closed

变量名自动变驼峰法的建议 #24

ikidou opened this issue Sep 28, 2015 · 2 comments

Comments

@ikidou
Copy link

ikidou commented Sep 28, 2015

Hello,部分API返回的字段名使用的是下划线分格(PHP),但Java一段使用的是驼峰法,如果一个一个改的话,太麻烦了,可否自动转换成驼峰法,毕竟增删字段的时候,又要重来,不然代码看起来不爽,希望可以加入。

@zzz40500
Copy link
Owner

已经支持了.setting-> use serializedName 勾上就可以自动转换成驼峰了.

@ikidou
Copy link
Author

ikidou commented Sep 28, 2015

好吧,这个真看不出,以为只是全部加上SerializedName注解呢,3Q

@ikidou ikidou closed this as completed Sep 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants