Suoranta.EnterpriseLib.Web - Developer API

BaseController..::..Json Method

Namespace:  Suoranta.EnterpriseLib.Web.MVC
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


protected JsonResult Json(
	Object data,
	string contentType,
	Encoding contentEncoding,
	JsonRequestBehavior behavior
)

Parameters

data
Type: Object
contentType
Type: String
contentEncoding
Type: Encoding
behavior
Type: JsonRequestBehavior

Return Value

Data as JsonResult

Remarks


This override exists to allow selection of Json serializer