Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONProp Method

Returns the string value of a JSON object property.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

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

Parameters

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

Returns

Property value, or an empty string when the property is missing or null.