-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Unexpected CamelCase formatting in System.Text.Json #46445
Comments
Are you using ASP.NET? This is a known change in ASP.NET Core 5.0. |
@huoyaoyuan yes, aspnet. Could you provide a description of this change? |
@huoyaoyuan, thanks for the link, but my issue about upper case of char |
The camel case handler does not have well-defind behavior for all capitalized. You should use an option to not convert the name at all. It there already such option? |
Preliminary note that We'll likely not do any work here (given it would be a non-trivial breaking change), unless something related spills out of the feature work for snake_case support (#782) in an effort to have a central algorithm between snake case, camel case, and any feature casing policies. The work around here is to implement a custom |
Description
Unexpected formatting for dictionary keys using
System.Text.Json
.Expected value
some_3
.Actual value
somE_3
.Configuration
Regression?
Previously the value had not changed.
The text was updated successfully, but these errors were encountered: