We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using tuya-cli to read status of zigbee sensors behind a gateway like this:
tuya-cli get --ip 192.168.0.114 --id bf82mostofitremoved --key 322fmostofitremoved --cid a4c1mostofitremoved --protocol-version 3.3
it produces an output like this:
{ '1': 173, '2': 249, '4': 100 }
JSON does only allow double quotes. And so does the JSONPath Online Evaluation.
https://www.json.org/json-en.html#:~:text=wrapped%20in%20double%20quotes
It seems like the tuya-cli output would benefit from using double quotes, too?
The text was updated successfully, but these errors were encountered:
Yes, happy to accept a PR to fix this.
Sorry, something went wrong.
sed -e "s/'/\"/g;s/,\([ \n]*\)}$/\1}/;s/}\"/}/"
No branches or pull requests
When using tuya-cli to read status of zigbee sensors behind a gateway like this:
tuya-cli get --ip 192.168.0.114 --id bf82mostofitremoved --key 322fmostofitremoved --cid a4c1mostofitremoved --protocol-version 3.3
it produces an output like this:
{ '1': 173, '2': 249, '4': 100 }
JSON does only allow double quotes. And so does the JSONPath Online Evaluation.
https://www.json.org/json-en.html#:~:text=wrapped%20in%20double%20quotes
It seems like the tuya-cli output would benefit from using double quotes, too?
The text was updated successfully, but these errors were encountered: