ToString method: JsonObject class

Syntax

ToString()

Description

Use this method to serialize the Json object to string.

Parameters

None.

Returns

String.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Name", "TYPE_STRING");
&jObj.AddProperty("Id", "TYPE_INT");
Local string &output = &jObj.ToString();