JsonValueKind Enum

Definition

Specifies the data type of a JSON value.

public enum JsonValueKind
Inheritance
JsonValueKind

Fields

Name Value Description
Undefined 0

There is no value (as distinct from Null).

Object 1

A JSON object.

Array 2

A JSON array.

String 3

A JSON string.

Number 4

A JSON number.

True 5

The JSON value true.

False 6

The JSON value false.

Null 7

The JSON value null.

Remarks

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

Applies to

Toode Versioonid
.NET Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)