JsonExtensions Class
Definition
Important
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 extension methods for JSON serialization and deserialization.
public static class JsonExtensions
type JsonExtensions = class
Public Module JsonExtensions
- Inheritance
-
JsonExtensions
Fields
| Name | Description |
|---|---|
| DefaultJsonSerializerOptions |
Gets the default JSON serializer options used throughout the application. |
Methods
| Name | Description |
|---|---|
| GetDefaultJsonSerializerOptions() |
Gets the default JSON serializer options with web defaults and custom converters. |
| GetJsonSerializerOptions(HttpContext) |
Gets the JSON serializer options from the HTTP context. |
| ToObject<T>(BinaryData, JsonSerializerOptions) |
Converts binary data to an object of the specified type using JSON deserialization. |