Table of Contents

TTMSFNCUtils.GetJSONObjectName Method

Returns a JSON object property name by index.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function GetJSONObjectName(AJSONObject: TJSONObject; AIndex: Integer): string;

Parameters

Name Description
AJSONObject JSON object to inspect.
AIndex Zero-based pair index.

Returns

Property name at the specified index, or an empty string when the index is out of range.