JsonSerializerOptions
JsonSerializerOptions()
JsonSerializerOptions(JsonSerializerDefaults)
JsonSerializerOptions(JsonSerializerOptions)
AllowOutOfOrderMetadataProperties
AllowTrailingCommas
Converters
Default
DefaultBufferSize
DefaultIgnoreCondition
DictionaryKeyPolicy
Encoder
IgnoreNullValues
IgnoreReadOnlyFields
IgnoreReadOnlyProperties
IncludeFields
IndentCharacter
IndentSize
IsReadOnly
MaxDepth
NewLine
NumberHandling
PreferredObjectCreationHandling
PropertyNameCaseInsensitive
PropertyNamingPolicy
ReadCommentHandling
ReferenceHandler
RespectNullableAnnotations
RespectRequiredConstructorParameters
TypeInfoResolver
TypeInfoResolverChain
UnknownTypeHandling
UnmappedMemberHandling
Web
WriteIndented
AddContext<TContext>()
GetConverter(Type)
GetTypeInfo(Type)
MakeReadOnly()
MakeReadOnly(Boolean)
TryGetTypeInfo(Type, JsonTypeInfo)
GetJsonSchemaAsNode(JsonSerializerOptions, Type, JsonSchemaExporterOptions)
net5.0
namespace System.Text.Json
{
public sealed class JsonSerializerOptions
{
public bool WriteIndented { get; set; }
}
}
nuget.org | 1.2 %
Reference this API 0.0 %
Get property 1.2 %
Set property |
---|---|
Upgrade Planner | 0.2 %
Reference this API 0.0 %
Get property 0.2 %
Set property |
.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 net5.0 | |
Assembly | System.Text.Json , Version=5.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