Table of Contents

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;

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.