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
The Bugs section of the Manual (jo.md) says this should work:
jo.md
$ jo a=1.0 {"a":1} $ jo a=\"1.0\" {"a":"1.0"}
But when I run jo version 1.9 (from Debian 12 bookworm), I get this:
jo
$ jo a=\"1.0\" {"a":"\"1.0\""}
The text was updated successfully, but these errors were encountered:
At a glance it appears the string coercion option is missing; this works from my shell:
$ jo -- -s a="1.0" {"a":"1.0"}
Indeed the escaped quotes produce unexpected results:
$ /bin/echo jo -- -s a=\"1.0\" jo -- -s a="1.0" $ jo -- -s a=\"1.0\" {"a":"\"1.0\""}
Sorry, something went wrong.
Ah, the jo -- -s ... syntax works for me as well, and will suit my purposes. I'm new to jo and hadn't understood the need for for the -- until now.
jo -- -s ...
--
That said, the example I referred to under the Bugs section of the manual page is seemingly not accurate (unless I misunderstand something.)
Thank you for this wonderful tool. It complements jq very well!
jq
That seems to be because of 935a324
No branches or pull requests
The Bugs section of the Manual (
jo.md
) says this should work:But when I run
jo
version 1.9 (from Debian 12 bookworm), I get this:The text was updated successfully, but these errors were encountered: