Actions37
- Append
- Blocking Pop Left
- Blocking Pop Right
- Delete
- Eval
- Exists
- Expire At
- Get
- Get Set
- Hash Exists
- Hash Keys
- Hash Length
- Hash Values
- Increment
- Info
- JSON Get
- JSON Set
- Keys
- List Length
- Multi Get
- Multi Set
- Persist
- Pop
- Publish
- Push
- Scan
- Set
- Set Add
- Set Cardinality
- Set Is Member
- Set Remove
- Sorted Set Add
- Sorted Set Cardinality
- Sorted Set Range
- Sorted Set Remove
- String Length
- TTL
JSON Get
AI-generatedSummary
Retrieve the JSON value stored at a specified Redis key and JSONPath, optionally formatting the output with indentation, newline, and spacing options.
Inputs
- Key (required) — The Redis key to get the JSON value from.
- Path — The JSONPath to retrieve from the value; defaults to root '$'.
- Options — Formatting options including Indent (string for nested levels), Newline (string at end of lines), and Space (string after colons).
Output shape
a list of JSON objects, each containing the key, path, the retrieved value parsed as JSON if possible, and a boolean indicating if the key exists.
Each input item results in one output item preserving paired input index. Errors can be captured if 'continue on fail' is enabled; otherwise, execution stops on failure.
Examples
Example 1: Retrieve a JSON value at the root path
Set the Key parameter to the Redis key storing JSON and leave Path as default '$'.
Example 2: Retrieve a nested JSON field with formatting
Set Key to the Redis key, Path to the nested JSONPath, and specify formatting Options like indent and newline strings.