Table of Contents

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 8, .NET 7 and .NET 6

Complements: Cuemon.Extensions.Text.Json namespace 📘

Extension Methods

Type Ext Methods
HttpExceptionDescriptorResponseHandler ⬇️ AddJsonResponseHandler
IMvcBuilder ⬇️ AddJsonFormatters, AddJsonFormattersOptions
IMvcCoreBuilder ⬇️ AddJsonFormatters, AddJsonFormattersOptions

Classes

HttpExceptionDescriptorResponseHandlerExtensions

Extension methods for the HttpExceptionDescriptorResponseHandler class.

JsonSerializationInputFormatter

This class handles deserialization of JSON to objects using JsonFormatter.

JsonSerializationMvcOptionsSetup

A Microsoft.Extensions.Options.ConfigureOptions<TOptions> implementation which will add the JSON serializer formatters to Microsoft.AspNetCore.Mvc.MvcOptions.

JsonSerializationOutputFormatter

This class handles serialization of objects to JSON using JsonFormatter.

MvcBuilderExtensions

Extension methods for the Microsoft.Extensions.DependencyInjection.IMvcBuilder interface.

MvcCoreBuilderExtensions

Extension methods for the Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder interface.