Freigeben über


JsonResult.SerializerSettings Eigenschaft

Definition

Ruft die Serialisierungseinstellungen ab oder legt diese fest.

Wenn Sie verwendenSystem.Text.Json, sollte dies eine instance von sein.JsonSerializerOptions

Wenn Sie verwendenNewtonsoft.Json, sollte dies eine instance von JsonSerializerSettingssein.

public:
 property Newtonsoft::Json::JsonSerializerSettings ^ SerializerSettings { Newtonsoft::Json::JsonSerializerSettings ^ get(); void set(Newtonsoft::Json::JsonSerializerSettings ^ value); };
public:
 property System::Object ^ SerializerSettings { System::Object ^ get(); void set(System::Object ^ value); };
public Newtonsoft.Json.JsonSerializerSettings SerializerSettings { get; set; }
public object SerializerSettings { get; set; }
public object? SerializerSettings { get; set; }
member this.SerializerSettings : Newtonsoft.Json.JsonSerializerSettings with get, set
member this.SerializerSettings : obj with get, set
Public Property SerializerSettings As JsonSerializerSettings
Public Property SerializerSettings As Object

Eigenschaftswert

Newtonsoft.Json.JsonSerializerSettings

Gilt für: