Click or drag to resize
ControllerProxyJson Method
Creates an ContentResult that produces a response with content type 'application/json'.

Namespace: Kentico.Web.Mvc.Internal
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
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: ContentResult
See Also