Table of Contents

TTMSFNCUtils.GetJSONValue Method

Returns a direct property value from a JSON object.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function GetJSONValue(AJSONValue: TJSONValue; APropertyName: string): TJSONValue;

Parameters

Name Description
AJSONValue JSON object to inspect.
APropertyName Property name to read.

Returns

JSON value for the property, or nil when it is missing or unavailable.