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
fromjson
When j9::run encounters an error in the input it should result in an error, but it currently fails silently.
j9::run
Example:
let s = j9::run(".a=(.a|fromjson)", "{\"a\":\"4v2\"}").expect("Should have failed at parsing"); panic!("incorrectly returned success : {s:?}");
prints
incorrectly returned success : []
but
jq -n '{a:"4v2"}' | jq '.a=(.a|fromjson)'
jq: error (at :3): Invalid numeric literal at EOF at line 1, column 3 (while parsing '4v2')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When
j9::run
encounters an error in the input it should result in an error, but it currently fails silently.Example:
prints
but
prints
The text was updated successfully, but these errors were encountered: