-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add PropertyNamingStrategy.LOWER_DOT_CASE
for dot-delimited names
#2241
Conversation
An example:
|
Sounds reasonable. This should probably go in Other than that, one thing we need (unless done already), is CLA for the first contribution. https://github.com/FasterXML/jackson/blob/master/contributor-agreement.pdf and usually you can print it, fill & sign, scan, email to Thank you for contribution! |
I signed it with touch-screen and mailed it. Some other issues:
|
I'll manually merge this; will change name (initially to Thank you for providing this, esp. tests! I hope to get merge completed today. |
JsonPropertyNamingStrategy.LOWER_CASE_WITH_DOTS
for dot-delimited namesJsonPropertyNamingStrategy.LOWER_DOT_CASE
for dot-delimited names
Merged manually: will be in 2.10.0. Thank you @zenglian for contributing this! |
Thanks. |
Matter of taste, I suppose, but I do like bit more lively names like "snake case", "camel case" and, at that point, "kebab case". There are obviously many other alternatives wrt hyphenated etc. |
JsonPropertyNamingStrategy.LOWER_DOT_CASE
for dot-delimited namesPropertyNamingStrategy.LOWER_DOT_CASE
for dot-delimited names
Add
JsonPropertyNamingStrategy.LOWER_CASE_WITH_DOTS
for dot-delimited names, which is widely used as configuration properties name, by many applications/products like hadoop, spark, etc.