JsonResult Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a class that is used to send JSON-formatted content to the response.
public class JsonResult : System.Web.Mvc.ActionResult
type JsonResult = class
inherit ActionResult
Public Class JsonResult
Inherits ActionResult
- Inheritance
Json |
Initializes a new instance of the JsonResult class. |
Content |
Gets or sets the content encoding. |
Content |
Gets or sets the type of the content. |
Data |
Gets or sets the data. |
Json |
Gets or sets a value that indicates whether HTTP GET requests from the client are allowed. |
Max |
Gets or sets the maximum length of data. |
Recursion |
Gets or sets the recursion limit. |
Execute |
Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. |