Skip to content

TJSONObject.GetEnumerator

Get an object enumerator.

Declaration

Source position: fpjson.pp line 719

public 
function TJSONObject.GetEnumerator : TBaseJSONEnumerator;  override;

Description

GetEnumerator is overridden in TJSONObject so it returns an object enumerator. The array enumerator will return all the elements in the array, and stores their name in the Key and index in the KeyNum members of TJSONEnum.

See also

Name Description
TJSONEnum JSON enumerator loop variable type.
TJSONData.GetEnumerator Return an enumerator for the data.