<PackageReference Include="System.Text.Json" Version="11.0.0-preview.1.26104.118" />
JsonStringEnumMemberNameAttribute
Determines the string value that should be used when serializing an enum member.
public string Name {
get; }
Gets the name of the enum member.
Creates new attribute instance with a specified enum member name.