Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json

Assembly: Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.dll

The Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json namespace contains both types and extension methods that complements the Cuemon.Extensions.Newtonsoft.Json namespace while being an addition to the Microsoft.AspNetCore.Mvc namespace. Provides JSON formatters for ASP.NET Core that is powered by Newtonsoft.Json.

Availability: .NET 8, .NET 7 and .NET 6

Complements: Cuemon.Extensions.Newtonsoft.Json namespace 📘

Extension Methods

Type Ext Methods
HttpExceptionDescriptorResponseHandler ⬇️ AddNewtonsoftJsonResponseHandler
JsonSerializerSettings ⬇️ Use{T}
IMvcBuilder ⬇️ AddNewtonsoftJsonFormatters, AddNewtonsoftJsonFormattersOptions
IMvcCoreBuilder ⬇️ AddNewtonsoftJsonFormatters, AddNewtonsoftJsonFormattersOptions

Classes

HttpExceptionDescriptorResponseHandlerExtensions

Extension methods for the HttpExceptionDescriptorResponseHandler class.

JsonSerializationInputFormatter

This class handles deserialization of JSON to objects using NewtonsoftJsonFormatter.

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 NewtonsoftJsonFormatter.

JsonSerializerSettingsExtensions

Extension methods for the Newtonsoft.Json.JsonSerializerSettings class.

MvcBuilderExtensions

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

MvcCoreBuilderExtensions

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