count
Get the number of items in an array or keys in an object at a given path. Quickly retrieve item or key totals from loaded JSON data.
Instructions
Count items in an array or keys in an object at a given path.
Args: alias: The alias of the loaded document. path: Dot/bracket notation path. Empty string means root.
Returns: The item/key count at the given path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| alias | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |