-
Notifications
You must be signed in to change notification settings - Fork 981
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
JSON.RESP path arg should be optional #852
Comments
I'm pretty sure that you can open the same bug on each JSON command, the path is required. |
@iko1 why are you saying this? |
Indeed, in the official documentation of both Json implementations, the path is optional. |
Got ya! |
Signed-off-by: iko1 <me@remotecpp.dev>
JSON.SET item:2 $ '{"name":"Wireless earbuds","description":"Wireless Bluetooth in-ear headphones","connection":{"wireless":true,"type":"Bluetooth"},"price":64.99,"stock":17,"colors":["black","white"], "max_level":[80, 100, 120]}'
JSON.RESP item:2
yields
(error) ERR wrong number of arguments for 'json.resp' command
should behave like JSON.RESP item:2 $
The text was updated successfully, but these errors were encountered: