TTMSFNCUtils.GetJSONIntegerValue Method
Returns a JSON object property as an integer value.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function GetJSONIntegerValue(AJSONValue: TJSONValue; APropertyName: string): Integer;
__classmethod int __fastcall GetJSONIntegerValue(System::Json::TJSONValue* AJSONValue, System::UnicodeString APropertyName);
Parameters
| Name | Description |
|---|---|
AJSONValue |
JSON object to inspect. |
APropertyName |
Property name to read. |
Returns
Property value as Integer, or 0 when missing or not numeric.