搜尋結果
在 GitHub 上與我們共同作業 您可以在 GitHub 上找到此內容的來源,在其中建立和檢閱問題和提取要求。 如需詳細資訊,請參閱 我們的參與者指南 。
- Remarks
- Explicit Interface Implementations
namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the
Returns an enumerator that iterates through a collection.
Serialization. 組件: System.Text.Json.dll. 套件: System.Text.Json v9.0.0-preview.3.24172.9. 判斷 JsonSerializer 如何在序列化及還原序列化時處理數字。 此列舉支援其成員值的位元組合。 C# 複製. [System.Flags] public enum JsonNumberHandling. 繼承. Object. ValueType. Enum. JsonNumberHandling. 屬性. Flags Attribute. 欄位. 展開資料表. 備註. 和 AllowNamedFloatingPointLiterals 的行為 WriteAsString 不是由 JSON 規格所定義。
Serialization. 組件: System.Text.Json.dll. 套件: System.Text.Json v9.0.0-preview.4.24266.19. 來源: JsonNumberHandlingAttribute.cs. 置於類型、屬性或欄位上時,指出在將數字序列化或還原序列化時應該使用哪些 JsonNumberHandling 設定。 C# 複製.
在 GitHub 上與我們共同作業 您可以在 GitHub 上找到此內容的來源,在其中建立和檢閱問題和提取要求。 如需詳細資訊,請參閱 我們的參與者指南 。
Gets or sets an object that specifies how number types should be handled when serializing or deserializing. C#. 複製. public System.Text.Json.Serialization.JsonNumberHandling NumberHandling { get; set; }
在 GitHub 上與我們共同作業 您可以在 GitHub 上找到此內容的來源,在其中建立和檢閱問題和提取要求。 如需詳細資訊,請參閱 我們的參與者指南 。