Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONDoubleValue Method

Returns a JSON object property as a floating-point value.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function GetJSONDoubleValue(AJSONValue: TJSONValue; APropertyName: string): Double;
__classmethod double __fastcall GetJSONDoubleValue(System::Json::TJSONValue* AJSONValue, System::UnicodeString APropertyName);

Parameters

Name Description
AJSONValue JSON object to inspect.
APropertyName Property name to read.

Returns

Property value as Double, or 0 when missing or not numeric.