This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets a value indicating whether this request is a json request.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[]
public static <bool> IsJson(
	 context
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Function IsJson ( _
	context As  _
) As (Of )

Parameters

context
IRenderContext
The context.

Field Value

true if the request is a json request; otherwise, false.

Return Value

See Also

Advanced