ControllerProxyJson Method |
Creates an ContentResult that produces a response with content type 'application/json'.
Namespace: Kentico.Web.Mvc.InternalAssembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax protected ContentResult Json(
Object objectToSerialize,
JsonSerializerSettings jsonSerializerSettings
)
Parameters
- objectToSerialize
- Type: SystemObject
Object to be serialized and sent in the response. - jsonSerializerSettings
- Type: JsonSerializerSettings
Settings used for serialization of the objectToSerialize.
Return Value
Type:
ContentResultSee Also