Edit

Share via


JsonValueKind Enum

Definition

Specifies the data type of a JSON value.

public enum class JsonValueKind
public enum JsonValueKind
type JsonValueKind = 
Public Enum JsonValueKind
Inheritance
JsonValueKind

Fields

Array 2

A JSON array.

False 6

The JSON value false.

Null 7

The JSON value null.

Number 4

A JSON number.

Object 1

A JSON object.

String 3

A JSON string.

True 5

The JSON value true.

Undefined 0

There is no value (as distinct from Null).

Remarks

For more information, see How to write custom serializers and deserializers with System.Text.Json.

Applies to