Skip to content
HTTP & JSON jsonKeys

$jsonKeys[]

$jsonKeys returns all top-level key names from the JSON object as a comma-separated string. This is useful for introspection, debugging, or dynamic key access. For nested objects, it only returns keys at the current depth. When used inside a $jsonForEach block, it can also reference the current iteration’s key context.

Syntax

bdfd
$jsonKeys[]

Examples

List All Object Keys

$jsonParse[{"id":1,"name":"Bot","status":"online"}]
$title[JSON Object Keys]
$description[Keys list: `$jsonKeys`]
$color[#00BCD4]
$sendMessage[]