-
Notifications
You must be signed in to change notification settings - Fork 122
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
-g|--group
option is unsafe for ][
in a string
#55
Comments
I ran into a similar case that functions differently, which itself is surprising. I'm using v9.0.3. @trentm's example from before works the same way as it did then:
and for reference:
which seems surprising. But this is even more surprising:
|
@davepacheco
Hence transforming:
to:
which of course fails to parse. Either json does a more robust transformation here, or it could special case for empty arrays. |
@davepacheco Is this blocking/breaking you on something? |
Nope. I can work around. (Also, I didn't initially run into the syntax
error with empty arrays.)
|
The text was updated successfully, but these errors were encountered: