Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONValue Method

Returns a direct property value from a JSON object.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function GetJSONValue(AJSONValue: TJSONValue; APropertyName: string): TJSONValue;
__classmethod System::Json::TJSONValue* __fastcall GetJSONValue(System::Json::TJSONValue* AJSONValue, System::UnicodeString APropertyName);

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.