Table of Contents

Class JsonSerializationInputFormatter

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

This class handles deserialization of JSON to objects using NewtonsoftJsonFormatter.

public class JsonSerializationInputFormatter : StreamInputFormatter<NewtonsoftJsonFormatter, NewtonsoftJsonFormatterOptions>, IInputFormatter, IApiRequestFormatMetadataProvider, IConfigurable<NewtonsoftJsonFormatterOptions>
Inheritance
Object
InputFormatter
TextInputFormatter
JsonSerializationInputFormatter
Implements
IInputFormatter
IApiRequestFormatMetadataProvider
Inherited Members
TextInputFormatter.UTF8EncodingWithoutBOM
TextInputFormatter.UTF16EncodingLittleEndian
TextInputFormatter.ReadRequestBodyAsync(InputFormatterContext)
TextInputFormatter.ReadRequestBodyAsync(InputFormatterContext, Encoding)
TextInputFormatter.SelectCharacterEncoding(InputFormatterContext)
TextInputFormatter.SupportedEncodings
InputFormatter.GetDefaultValueForType(Type)
InputFormatter.CanRead(InputFormatterContext)
InputFormatter.CanReadType(Type)
InputFormatter.ReadAsync(InputFormatterContext)
InputFormatter.GetSupportedContentTypes(String, Type)
InputFormatter.SupportedMediaTypes

Constructors

JsonSerializationInputFormatter(NewtonsoftJsonFormatterOptions)

Initializes a new instance of the JsonSerializationInputFormatter class.

public JsonSerializationInputFormatter(NewtonsoftJsonFormatterOptions options)

Parameters

options NewtonsoftJsonFormatterOptions

The NewtonsoftJsonFormatterOptions which need to be configured.