JsonSerializerOptions Constructors

Definitie

Overloads

Name Description
JsonSerializerOptions()

Initialiseert een nieuw exemplaar van de JsonSerializerOptions klasse.

JsonSerializerOptions(JsonSerializerDefaults)

Hiermee wordt een nieuw JsonSerializerOptions exemplaar samengesteld met een vooraf gedefinieerde set opties die worden bepaald door de opgegeven JsonSerializerDefaults.

JsonSerializerOptions(JsonSerializerOptions)

Kopieert de opties van een JsonSerializerOptions exemplaar naar een nieuw exemplaar.

JsonSerializerOptions()

Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs

Initialiseert een nieuw exemplaar van de JsonSerializerOptions klasse.

public:
 JsonSerializerOptions();
public JsonSerializerOptions();
Public Sub New ()

Van toepassing op

JsonSerializerOptions(JsonSerializerDefaults)

Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs

Hiermee wordt een nieuw JsonSerializerOptions exemplaar samengesteld met een vooraf gedefinieerde set opties die worden bepaald door de opgegeven JsonSerializerDefaults.

public:
 JsonSerializerOptions(System::Text::Json::JsonSerializerDefaults defaults);
public JsonSerializerOptions(System.Text.Json.JsonSerializerDefaults defaults);
new System.Text.Json.JsonSerializerOptions : System.Text.Json.JsonSerializerDefaults -> System.Text.Json.JsonSerializerOptions
Public Sub New (defaults As JsonSerializerDefaults)

Parameters

defaults
JsonSerializerDefaults

De JsonSerializerDefaults reden hiervoor.

Van toepassing op

JsonSerializerOptions(JsonSerializerOptions)

Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs
Bron:
JsonSerializerOptions.cs

Kopieert de opties van een JsonSerializerOptions exemplaar naar een nieuw exemplaar.

public:
 JsonSerializerOptions(System::Text::Json::JsonSerializerOptions ^ options);
public JsonSerializerOptions(System.Text.Json.JsonSerializerOptions options);
new System.Text.Json.JsonSerializerOptions : System.Text.Json.JsonSerializerOptions -> System.Text.Json.JsonSerializerOptions
Public Sub New (options As JsonSerializerOptions)

Parameters

options
JsonSerializerOptions

Het exemplaar van de opties waaruit u opties wilt kopiƫren.

Uitzonderingen

options is null.

Van toepassing op