Class JsonFormatterAttribute

Can be used to specify that an action or controller should use IJsonInputFormatter for formatting paramters from request body.

Inheritance
System.Object
JsonFormatterAttribute
Namespace: EPiServer.Formatters
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
public class JsonFormatterAttribute : ActionFilterAttribute

Constructors

JsonFormatterAttribute()

Declaration
public JsonFormatterAttribute()

Methods

OnActionExecuting(ActionExecutingContext)

Declaration
public override void OnActionExecuting(ActionExecutingContext context)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context

Extension Methods