System.JSON.Readers.TJsonReader.GetPosition

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPosition(ADepth: Integer): TJsonPosition;

C++

System::Json::Types::TJsonPosition __fastcall GetPosition(int ADepth);

Properties

Type Visibility Source Unit Parent
function protected
System.JSON.Readers.pas
System.JSON.Readers.hpp
System.JSON.Readers TJsonReader

Description

Provides position information based on Depth.

ADepth evaluates the depth of the nested level to analyze.

The function returns a TJsonPosition that contains information about the position being written/read in a stream.

The base class contains, for example:

  • The container type where the position resides, for example, an object or an array.
  • The position itself, an integer that represents the position of the beginning of the current token.
  • The property name.

See Also