bmel:json-keys¶
Category: JSON · Returns: bmel:array
bmel:json-keys(object: bmel:any)
Description¶
Returns an array of the top-level key names of a JSON object. Returns an empty array for non-object inputs.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
object | bmel:any | ✅ | The JSON object or string whose top-level keys to return. |
Example¶
bmel:json-keys({chat:Response Payload}.$.tool_call)