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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Reproduction:
$ ./jq --version jq-1.6-159-gcff5336 $ ./jq -n --jsonargs '$ARGS' 123 'invalid json' { "positional": [ 123, Assertion failed: (0 && "Invalid value"), function jv_dump_term, file jv_print.c, line 221. [1] 9056 abort ./jq -n --jsonargs '$ARGS' 123 'invalid json' # for some reason this don't assert but the invalid JSON is null $ ./jq -n --jsonargs '$ARGS.positional[0,1]' 123 'invalid json' 123 null
Expected behaviour i think would be to error earlier on invalid JSON
The text was updated successfully, but these errors were encountered:
Validate JSON for --jsonarg
698cc3a
Fixes jqlang#2572
9a9059b
719aec2
95625c3
Fixes #2572
Successfully merging a pull request may close this issue.
Reproduction:
Expected behaviour i think would be to error earlier on invalid JSON
The text was updated successfully, but these errors were encountered: