JsonSourceGenerationOptionsAttribute
JsonSourceGenerationOptionsAttribute()
JsonSourceGenerationOptionsAttribute(JsonSerializerDefaults)
AllowOutOfOrderMetadataProperties
AllowTrailingCommas
Converters
DefaultBufferSize
DefaultIgnoreCondition
DictionaryKeyPolicy
GenerationMode
IgnoreReadOnlyFields
IgnoreReadOnlyProperties
IncludeFields
IndentCharacter
IndentSize
MaxDepth
NewLine
NumberHandling
PreferredObjectCreationHandling
PropertyNameCaseInsensitive
PropertyNamingPolicy
ReadCommentHandling
ReferenceHandler
RespectNullableAnnotations
RespectRequiredConstructorParameters
UnknownTypeHandling
UnmappedMemberHandling
UseStringEnumConverter
WriteIndented
net7.0
namespace System.Text.Json.Serialization
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class JsonSourceGenerationOptionsAttribute : JsonAttribute
{
public JsonKnownNamingPolicy PropertyNamingPolicy { get; set; }
}
}
nuget.org | 0.1 %
Reference this API |
---|---|
Design Reviews |
|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net7.0 | |
Assembly | System.Text.Json , Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API