Syntax

GetPropertyNameAt(index)

Description

Use this method to return the name of the property at the specified index in the JSON Object.

Parameters

Name Description
index Specifies the index in the JSON Object as an Integer.

Returns

String.

Example

Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
   
&oObject.AddString("one", "test");
   
Local string &sName = &oObject.GetPropertyNameAt(1);