System.JSON.Readers.TJsonReader.ReadAsInt64

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadAsInt64: Int64; virtual;

C++

virtual __int64 __fastcall ReadAsInt64();

Properties

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

Description

Reads the next JSON token and interprets it as a 64-bit Integer value.

Instead of Read, you may alternatively use a different reading method if you can anticipate the type of the next token.

ReadAsInt64 function reads the next token and returns an Int64 value. ReadAsInt64 calls ReadAsInt64Internal.

If the token cannot be interpreted as the expected type, an exception raises and provides the path to the token, the number of the line and the position within that line.

See Also