Namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json
Assembly: Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.dll
The Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json namespace contains both types and extension methods that complements the Cuemon.Extensions.Text.Json namespace while being an addition to the Microsoft.AspNetCore.Mvc namespace. Provides JSON formatters for ASP.NET Core based on System.Text.Json.
Availability: .NET 9 and .NET 8
Complements: Cuemon.Extensions.Text.Json namespace 📘
Extension Methods
| Type | Ext | Methods |
|---|---|---|
| HttpExceptionDescriptorResponseHandler | ⬇️ | AddJsonResponseHandler |
| IMvcBuilder | ⬇️ | AddJsonFormatters, AddJsonFormattersOptions |
| IMvcCoreBuilder | ⬇️ | AddJsonFormatters, AddJsonFormattersOptions |
Classes
JsonSerializationInputFormatter
This class handles deserialization of JSON to objects using JsonFormatter.
JsonSerializationMvcOptionsSetup
A ConfigureOptions<TOptions> implementation which will add the JSON serializer formatters to MvcOptions.
JsonSerializationOutputFormatter
This class handles serialization of objects to JSON using JsonFormatter.
MvcBuilderExtensions
Extension methods for the IMvcBuilder interface.
MvcCoreBuilderExtensions
Extension methods for the IMvcCoreBuilder interface.