Syntax

ToJsonString()

Description

Use this method to serialize the JSON Node to string.

Parameters

None.

Returns

String.

Example

Local Exception &oException;
&oException = CreateException(0, 0, "An Error Occured");
   
Local PSM_JSON:Node &oNode = create PSM_JSON:Node();
   
&oNode.SetException(&oException);
   
Local string &sJson = &oNode.ToJsonString();