Class JsonFormattedResult
A Microsoft.AspNetCore.Mvc.JsonResult that uses IJsonOutputFormatterRegistry to resolve the formatter to use for serialization
Inheritance
System.Object
JsonFormattedResult
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public class JsonFormattedResult : JsonResult
Constructors
JsonFormattedResult(Object)
Declaration
public JsonFormattedResult(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Properties
ModuleOutputFormatter
Optional parameter to define which IJsonOutputFormatter to use. If not specified then it will be resolved from IJsonOutputFormatterRegistry
Declaration
public IJsonOutputFormatter ModuleOutputFormatter { get; set; }
Property Value
Type | Description |
---|---|
IJsonOutputFormatter |
Methods
ExecuteResultAsync(ActionContext)
Declaration
public override Task ExecuteResultAsync(ActionContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.ActionContext | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |