JsonValueKind 列舉

定義

指定 JSON 值的資料型別。

public enum class JsonValueKind
public enum JsonValueKind
type JsonValueKind = 
Public Enum JsonValueKind
繼承
JsonValueKind

欄位

Array 2

JSON 陣列。

False 6

JSON 值 false

Null 7

JSON 值 null

Number 4

JSON 數字。

Object 1

JSON 物件。

String 3

JSON 字串。

True 5

JSON 值 true

Undefined 0

沒有值 (與 Null 不同)。

備註

如需詳細資訊,請參閱 如何使用 System.Text.Json 撰寫自訂序列化程式和還原序列化程式

適用於