JsonResult.SerializerSettings Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the serializer settings.
When using System.Text.Json
, this should be an instance of JsonSerializerOptions
When using Newtonsoft.Json
, this should be an instance of JsonSerializerSettings
.
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
Property Value
Newtonsoft.Json.JsonSerializerSettings