共用方式為


JsonOutputFormatter.PublicSerializerSettings 屬性

定義

Newtonsoft.Json.JsonSerializerSettings取得用來設定 的 Newtonsoft.Json.JsonSerializer

public:
 property Newtonsoft::Json::JsonSerializerSettings ^ PublicSerializerSettings { Newtonsoft::Json::JsonSerializerSettings ^ get(); };
public Newtonsoft.Json.JsonSerializerSettings PublicSerializerSettings { get; }
member this.PublicSerializerSettings : Newtonsoft.Json.JsonSerializerSettings
Public ReadOnly Property PublicSerializerSettings As JsonSerializerSettings

屬性值

Newtonsoft.Json.JsonSerializerSettings

備註

使用之後 JsonOutputFormatter 對 物件所做的任何修改 Newtonsoft.Json.JsonSerializerSettings 都不會有任何作用。

適用於