System.JSON.TJSONArray.Get

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Get(const Index: Integer): TJSONValue; inline; deprecated 'Use Items property';

C++

TJSONValue* __fastcall Get _DEPRECATED_ATTRIBUTE1("Use Items property") (const int Index);

Properties

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

Description

Warning: Get is deprecated. Please use Items.

Returns the element at the given index in the JSON array.

Call Get to obtain the element at the index given through the Index parameter, in the JSON array.

If the given index is out of range, Get returns a null value.

See Also