You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ jo a=$(jo foo='bar baz')
Argument `baz"}' is neither k=v nor k@v
{"a":"{\"foo\":\"bar"}
3
❯ jo a="$(jo foo='bar baz')"
{"a":{"foo":"bar baz"}}
I like that it is easy to nest json objects arbitrarily deep even without have to bash string quote stuff a lot. But I want option 2 to work. I can get it to work by quoting it, but then that seems to force me to quote everything all the way up.
The text was updated successfully, but these errors were encountered:
1
2
3
I like that it is easy to nest json objects arbitrarily deep even without have to bash string quote stuff a lot. But I want option 2 to work. I can get it to work by quoting it, but then that seems to force me to quote everything all the way up.
The text was updated successfully, but these errors were encountered: