Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert JSONPath default path value from $ to . under RESP3 #1131

Closed
LiorKogan opened this issue Nov 8, 2023 · 1 comment
Closed

Revert JSONPath default path value from $ to . under RESP3 #1131

LiorKogan opened this issue Nov 8, 2023 · 1 comment

Comments

@LiorKogan
Copy link
Member

For the following commands, the path argument is optional.
Currently the default path value is . under RESP2 and $ under RESP3.

JSON.ARRLEN key [path]
JSON.ARRPOP key [FORMAT STRINGS|EXPAND1|EXPAND] [path [index]]
JSON.DEBUG MEMORY key [path]
JSON.DEL key [path]
JSON.GET key [INDENT indent] [NEWLINE newline] [SPACE space] [FORMAT STRINGS|EXPAND1|EXPAND] [path [path ...]]
JSON.OBJKEYS key [path…]
JSON.OBJLEN key [path]
JSON.STRAPPEND key [path] value
JSON.STRLEN key [path]
JSON.TYPE key [path…]

Due to many request we decided to revert the default path value to . under both RESP2 and RESP3.

One request: #1090

@ephraimfeldblum
Copy link
Contributor

This has been attended to in #1143 . This issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants