$keys
The$keys operator returns an array of all keys in an object/map.
Input
- A single object/map value
Output
- An array containing all the keys of the input object
Examples
Get Keys from Object
["name", "age", "city"]
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
$keys operator returns an array of all keys in an object/map.
{
"$keys": [
{
"name": "Alice",
"age": 25,
"city": "New York"
}
]
}
["name", "age", "city"]
{
"$keys": [
{
"$input": "user_object"
}
]
}
