TTMSFNCUtils.GetJSONDoubleValue Method
Returns a JSON object property as a floating-point value.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
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.