Table of Contents

TTMSFNCUtils.GetJSONArrayItem Method

Returns an item from a JSON array.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function GetJSONArrayItem(AJSONArray: TJSONArray; AIndex: Integer): TJSONValue;

Parameters

Name Description
AJSONArray JSON array to inspect.
AIndex Zero-based item index.

Returns

JSON array item, or nil when the index is out of range.