Class JsonSerializationOutputFormatter
- Assembly
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json.dll
This class handles serialization of objects to JSON using JsonFormatter.
public class JsonSerializationOutputFormatter : StreamOutputFormatter<JsonFormatter, JsonFormatterOptions>, IOutputFormatter, IApiResponseTypeMetadataProvider, IConfigurable<JsonFormatterOptions>
- Inheritance
-
OutputFormatterTextOutputFormatterJsonSerializationOutputFormatter
- Implements
-
IOutputFormatterIApiResponseTypeMetadataProvider
- Inherited Members
-
TextOutputFormatter.SelectCharacterEncoding(OutputFormatterWriteContext)TextOutputFormatter.WriteAsync(OutputFormatterWriteContext)TextOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext)TextOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext, Encoding)TextOutputFormatter.SupportedEncodingsOutputFormatter.CanWriteType(Type)OutputFormatter.GetSupportedContentTypes(String, Type)OutputFormatter.CanWriteResult(OutputFormatterCanWriteContext)OutputFormatter.WriteResponseHeaders(OutputFormatterWriteContext)OutputFormatter.SupportedMediaTypes
- Extension Methods
Constructors
JsonSerializationOutputFormatter(JsonFormatterOptions)
Initializes a new instance of the JsonSerializationOutputFormatter class.
public JsonSerializationOutputFormatter(JsonFormatterOptions options)
Parameters
options
JsonFormatterOptionsThe JsonFormatterOptions which need to be configured.