About 21,800,000 results
Open links in new tab
  1. json - JQ: Select multiple conditions - Stack Overflow

    Abundant brackets are wise in jq. Operator precedence is a bit unintuitive if you are accustomed to imperative languages, and poorly documented in the otherwise stellar manual.

  2. pipe - How to use `jq` in a shell pipeline? - Stack Overflow

    The question title also being "How to use jq in a shell pipeline?" and this being a highly voted question also leads towards this being relevant for those who stumble upon it.

  3. Modify a key-value in a json using jq in-place - Stack Overflow

    I have a json in which I want to modify a particular value but the terminal always displays the json with the modified value but it does not actually change the value in the particular file. Sample...

  4. Extract a specific field from JSON output using jq

    Aug 30, 2016 · Extract a specific field from JSON output using jq Asked 9 years, 4 months ago Modified 2 years, 11 months ago Viewed 246k times

  5. bash - How to run jq from gitbash in windows? - Stack Overflow

    Dec 29, 2018 · When a configuring a Windows gitlab runner to use bash, this wasn't enough. I also had to add C:\Program Files\Git\usr\bin to the Windows system path, even though jq was found when …

  6. Write output to a file after piped to jq - Stack Overflow

    when I run curl api.example.com | jq it gives me a pretty printed output of the JSON I just curled. How can write this to a file without saving it to a json first.

  7. if statement - JSON JQ if without else - Stack Overflow

    Apr 29, 2015 · 51 I use the following JQ command to filter out the JSON. My requirement is to filter out the JSON message if the expected node is present. Or else, do nothing. Hence, I use if, elif, ....

  8. How to correctly use jq's in() function - Stack Overflow

    Feb 8, 2022 · How to correctly use jq's in () function Asked 3 years, 10 months ago Modified 2 years, 5 months ago Viewed 3k times

  9. json - Sort descending by multiple keys in jq - Stack Overflow

    In jq, arrays sort by the sorting of the elements they contain, in order. That is:

  10. Parsing a date string reliably in jq - Stack Overflow

    Jul 5, 2020 · Overall aim: Parse a string in GMT as a time using jq and output both a formatted time and the difference of that time to "now". However, jqs (version 1.6, Debian testing) timezone …