Skip to content

How to override the JsonPropertyName while serializing? #37236

Closed
@akshay-zz

Description

@akshay-zz

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions