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

Regression in 4.8+ | no longer able to use camel case serialization #135

Open
rjgotten opened this issue May 31, 2024 · 0 comments
Open

Comments

@rjgotten
Copy link

rjgotten commented May 31, 2024

With the move to System.Text.Json in version 4.8+ it is no longer possible to configure requests for template models to be serialized with camel case conversion.

System.Text.Json does not have modifiable global default serializer settings like Newtonsoft.Json has and does not feature attribute-level control over the casing strategy. The only recourse to fix existing code is to painstakingly add hand-mapped [JsonProperty] remapping to camelcased names for each property on each transitively accessed model.

This is, frankly, an entirely shitty experience.
Update the library to support externally supplied serializer options, please.

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

1 participant