Table of Contents

TJObject.keys Method

Returns an array of all member names in the specified JSON object. Provided for JavaScript compatibility.

Syntax

Unit: Bcl.Json.Classes

class function TJObject.keys(const obj: TJObject): TStringDynArray;

Parameters

<-> Parameter Type Description
const obj TJObject The TJObject whose member names to retrieve.

Returns

A dynamic string array containing the names of all members.

See also