get_type
Determine the JSON type at any document path and see key or item counts for objects and arrays, so you can validate structure before querying or transforming data.
Instructions
Return the JSON type of the value at a given path.
Possible types: object, array, string, number, boolean, null. For objects and arrays, also includes the count of keys/items.
Args: alias: The alias of the loaded document. path: Dot/bracket notation path. Empty string means root.
Returns: The JSON type (e.g. "object (5 keys)", "array (100 items)", "string").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| alias | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |