System.JSON.TJSONArray.GetEnumerator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetEnumerator: TEnumerator; inline;

C++

TEnumerator* __fastcall GetEnumerator();

Properties

Type Visibility Source Unit Parent
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONArray

Description

Returns a JSON array enumerator that you can use to iterate through the JSON values of this JSON array.

The Current and MoveNext members of enumerator allow iterating JSON values using a for-in loop like in TJSONObject.GetEnumerator.

See Also