Closed
Description
The doc talks about how we can change the name of the JSON property name. Also how we can create our own PropertyNamingPolicy
. But how can we override the JsonPropertyName
while serializing? Is there any way to do it?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 7bee4ecb-7464-b321-937a-e6d4586556eb
- Version Independent ID: 27c18218-d28f-a524-b7e1-8262005b7026
- Content: How to customize property names and values with System.Text.Json - .NET
- Content Source: docs/standard/serialization/system-text-json/customize-properties.md
- Product: dotnet-fundamentals
- GitHub Login: @gewarren
- Microsoft Alias: gewarren