Skip to content

JsonValueKind

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonValueKind.cs

Specifies the data type of a JSON value.

public enum JsonValueKind : IComparable, ISpanFormattable, IFormattable, IConvertible

Implements

IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

Field Type Description
Undefined static JsonValueKind Indicates that there is no value (as distinct from Null).
Object static JsonValueKind Indicates that a value is a JSON object.
Array static JsonValueKind Indicates that a value is a JSON array.
String static JsonValueKind Indicates that a value is a JSON string.
Number static JsonValueKind Indicates that a value is a JSON number.
True static JsonValueKind Indicates that a value is the JSON value true.
False static JsonValueKind Indicates that a value is the JSON value false.
Null static JsonValueKind Indicates that a value is the JSON value null.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue