Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONObjectName Method

Returns a JSON object property name by index.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function GetJSONObjectName(AJSONObject: TJSONObject; AIndex: Integer): string;
__classmethod System::UnicodeString __fastcall GetJSONObjectName(System::Json::TJSONObject* AJSONObject, int AIndex);

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.