Method | Description | |
---|---|---|
Index ( bool preferred = false ) : System.Web.Mvc.ActionResult |
Method | Description | |
---|---|---|
Json ( object data, string contentType, |
Creates a System.Web.Mvc.JsonResult object that serializes the specified object to JavaScript Object Notation (JSON).
|
public Index ( bool preferred = false ) : System.Web.Mvc.ActionResult | ||
preferred | bool | |
return | System.Web.Mvc.ActionResult |
protected Json ( object data, string contentType, |
||
data | object | The JavaScript object graph to serialize. |
contentType | string | The content type (MIME type). |
contentEncoding | The content encoding. | |
behavior | JsonRequestBehavior | The JSON request behavior |
return | System.Web.Mvc.JsonResult |