Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONValueAsInteger Method

Converts a JSON value to an integer value.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function GetJSONValueAsInteger(AJSONValue: TJSONValue): Integer;
__classmethod int __fastcall GetJSONValueAsInteger(System::Json::TJSONValue* AJSONValue);

Parameters

Name Description
AJSONValue JSON value to convert.

Returns

Value as Integer, or 0 when the value is missing or not numeric.