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;
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.