System.Text.Json Namespace

Classes

JsonDocument

Provides a mechanism for examining the structural content of a JSON value without automatically instantiating data values.

JsonException
Utf8JsonWriter

Provides a high-performance API for forward-only, non-cached writing of UTF-8 encoded JSON text.

Structs

JsonElement

Represents a specific JSON value within a JsonDocument.

JsonElement.ArrayEnumerator

Represents an enumerator for the contents of a JSON array.

JsonElement.ObjectEnumerator

Represents an enumerator for the properties of a JSON object.

JsonEncodedText
JsonProperty

Represents a single property for a JSON object.

JsonReaderOptions

Provides the ability for the user to define custom behavior when reading JSON.

JsonReaderState

Defines an opaque type that holds and saves all the relevant state information, which must be provided to the Utf8JsonReader to continue reading after processing incomplete data.

JsonWriterOptions

Allows the user to define custom behavior when writing JSON using the Utf8JsonWriter.

Utf8JsonReader

Provides a high-performance API for forward-only, read-only access to the UTF-8 encoded JSON text.

Enums

JsonCommentHandling

Defines how the Utf8JsonReader struct handles comments.

JsonTokenType

Defines the various JSON tokens that make up a JSON text.

JsonValueType

Specifies the data type of a JSON value.