Class JsonSerializationOutputFormatter
- Namespace
- Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json
- Assembly
- Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.dll
This class handles serialization of objects to JSON using NewtonsoftJsonFormatter.
public class JsonSerializationOutputFormatter : StreamOutputFormatter<NewtonsoftJsonFormatter, NewtonsoftJsonFormatterOptions>, IOutputFormatter, IApiResponseTypeMetadataProvider, IConfigurable<NewtonsoftJsonFormatterOptions>
- Inheritance
-
JsonSerializationOutputFormatter
- Implements
- Inherited Members
Constructors
JsonSerializationOutputFormatter(NewtonsoftJsonFormatterOptions)
Initializes a new instance of the JsonSerializationOutputFormatter class.
public JsonSerializationOutputFormatter(NewtonsoftJsonFormatterOptions options)
Parameters
options
NewtonsoftJsonFormatterOptionsThe NewtonsoftJsonFormatterOptions which need to be configured.