Text. Json Namespace
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a mechanism for examining the structural content of a JSON value without automatically instantiating data values.
Defines a custom exception object that is thrown when invalid JSON text is encountered, when the defined maximum depth is passed, or the JSON text is not compatible with the type of a property on an object.
Determines the naming policy used to convert a string-based name to another format, such as a camel-casing format.
Provides functionality to serialize objects or value types to JSON and to deserialize JSON into objects or value types.
Provides options to be used with JsonSerializer.
Provides a high-performance API for forward-only, non-cached writing of UTF-8 encoded JSON text.
Provides the ability for the user to define custom behavior when parsing JSON to create a JsonDocument.
Represents a specific JSON value within a JsonDocument.
Represents an enumerator for the contents of a JSON array.
Represents an enumerator for the properties of a JSON object.
Provides methods to transform UTF-8 or UTF-16 encoded text into a form that is suitable for JSON.
Represents a single property for a JSON object.
Provides the ability for the user to define custom behavior when reading JSON.
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.
Allows the user to define custom behavior when writing JSON using the Utf8JsonWriter.
Provides a high-performance API for forward-only, read-only access to UTF-8 encoded JSON text.
Defines how the Utf8JsonReader struct handles comments.
Specifies scenario-based default serialization options that can be used to construct a JsonSerializerOptions instance.
Defines the various JSON tokens that make up a JSON text.
Specifies the data type of a JSON value.
See also the System.Text.Json.Serialization namespace, which contains attributes and APIs for advanced scenarios and customization specific to serialization and deserialization.
For more information, see the System.Text.Json overview.