Table of Contents

TJElement.AsInteger Method

Returns the value of this element as an Integer.

Remarks

Raises EInvalidJsonCast if the element cannot be converted to Integer.

Syntax

Unit: Bcl.Json.Classes

function TJElement.AsInteger: Integer; virtual;

See also