Skip to content

DOC-7032: Add tested client examples for JSONPath functions - #3927

Open
andy-stark-redis wants to merge 2 commits into
DOC-7032-json-path-filtersfrom
DOC-7032-json-path-functions
Open

DOC-7032: Add tested client examples for JSONPath functions#3927
andy-stark-redis wants to merge 2 commits into
DOC-7032-json-path-filtersfrom
DOC-7032-json-path-functions

Conversation

@andy-stark-redis

@andy-stark-redis andy-stark-redis commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

🤖 Generated with Claude Code


Note

Low Risk
Documentation and executable examples only; no runtime or API behavior changes.

Overview
DOC-7032 moves Redis 8.10 JSONPath function reference material out of a standalone CLI-only Functions section and into Filter examples, wired to the existing json_path_ops clients-example set.

In path.md, the intro list now links each function to its subsection, and the prefix/postfix function-call note sits with the operator overview. Ten function groups (length, count, value, keys, match/search, concat, math, array access, aggregates, append) are documented there via {{< clients-example set="json_path_ops" step="func_*" >}} shortcodes instead of raw JSON.SET/JSON.GET blocks.

Matching STEP_START func_* steps were added across all 11 local_examples/json_path_ops clients so the example test harness can execute and assert the same paths as the docs.

Reviewed by Cursor Bugbot for commit 14b7e5b. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

DOC-7032

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

🧠 Redis Memory

Found 7 related items from repository history:

Memory updated at 14b7e5b

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

andy-stark-redis and others added 2 commits September 4, 2026 15:48
Move the illustrative CLI blocks in "Functions" into runnable
clients-example demos under "Filter examples", covering length(),
count(), value(), keys(), match()/search(), concat(),
abs()/ceiling()/floor(), first()/last()/index(),
min()/max()/avg()/sum()/stddev(), and append(). Extends the
json_path_ops TCE set from the filter-operators PR; verified against
a live Redis 8.10 server across all 11 clients.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Remove "## Functions" as a separate section — move each function's
description to sit directly above its runnable example under Filter
examples, matching the same restructuring already applied to the
filter operators. Link each function from the "Beginning with Redis
8.10..." list under JSONPath syntax instead, and fold the general
prefix/postfix-form note into that same list's framing text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@andy-stark-redis
andy-stark-redis force-pushed the DOC-7032-json-path-functions branch from a46b330 to 14b7e5b Compare September 4, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant