JsonOptions 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class JsonOptions
C#
public class JsonOptions
type JsonOptions = class
Public Class JsonOptions
- 繼承
-
JsonOptions
Allow |
取得或設定旗標,以判斷 是否將 來自 SystemTextJsonInputFormatter JSON 還原序列化的錯誤訊息新增至 ModelStateDictionary 。 如果 |
Json |
JsonSerializerOptions取得 和 SystemTextJsonOutputFormatter 所使用的 SystemTextJsonInputFormatter 。 |
產品 | 版本 |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |