Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONObjectSize Method

Returns the number of name/value pairs in a JSON object.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function GetJSONObjectSize(AJSONObject: TJSONObject): Integer;
__classmethod int __fastcall GetJSONObjectSize(System::Json::TJSONObject* AJSONObject);

Parameters

Name Description
AJSONObject JSON object to inspect.

Returns

Object pair count.