News for hackers. Stuff that matters.
Re:Extracting Objects Recursively with Jq by Arnavion on Sunday August 01, 2021 @06:59PM (#28031019)
If you have quoting issues, and going by the example you posted of replacing quotes with sed and tr, you haven't learned how to pass parameters to jq correctly. You should use `--arg` and `--argjson`, not shell string interpolation, to pass in external strings / JSON object strings to your jq command. And use `--raw-output` to convert JSON strings to displayable strings (ie no quotes, evaluated escapes) for output.

There are no comments on this comment yet.