ToString method: JsonValue class

Syntax

ToString()

Description

Use this method to serialize the Json value object to a string.

Parameters

None.

Returns

String.

Example

Local JsonValue &jVal = CreateJsonValue();
Local datetime &dttm = DateTime6(2000, 1, 1, 1, 5, 7);
&jVal.SetDateTime(&dttm);
Local string &jValToString = &jVal.ToString();