-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
JsonSerializerOptions.PropertyNamingPolicy not effect ExpandoObject #47707
Comments
Tagging subscribers to this area: @eiriktsarpalis, @layomia Issue Detailsdynamic foo = new ExpandoObject();
foo.Bar = 3;
JsonSerializer.Serialize(foo, new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase });
//result: {"Bar":3}
|
I would expect |
This is being addressed along with the work on |
Triage:
|
In .NET 5, Demo here: https://dotnetfiddle.net/jf29xe. |
The text was updated successfully, but these errors were encountered: