Table of Contents

TTMSFNCUtils.GetJSONObjectItem Method

Returns a JSON object value by index.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function GetJSONObjectItem(AJSONObject: TJSONObject; AIndex: Integer): TJSONValue;

Parameters

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

Returns

JSON value at the specified index, or nil when the index is out of range.