PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Converts the given Xml to a Json string.

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

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static string ToJson(
	 context,
	 xml
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function ToJson ( _
	context As , _
	xml As  _
) As 

Parameters

context
IRenderContext
The context.
xml
XmlData
The XML.

Return Value

Json string

See Also

Advanced