System.Text.Json Namespace

Classes

JsonDocument
JsonReaderException

The exception that is thrown when Utf8JsonReader encounters invalid data or data disallowed by any of its options.

Utf8JsonWriter

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

Structs

JsonElement
JsonElement.ArrayEnumerator
JsonElement.ObjectEnumerator
JsonProperty
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