TTMSFNCUtils.GetJSONValueAsInteger Method
Converts a JSON value to an integer value.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function GetJSONValueAsInteger(AJSONValue: TJSONValue): Integer;
Parameters
| Name | Description |
|---|---|
AJSONValue |
JSON value to convert. |
Returns
Value as Integer, or 0 when the value is missing or not numeric.