# Source attribution - [jq - select objects with given key name](https://stackoverflow.com/questions/23268506/jq-select-objects-with-given-key-name) — question: DisplayName; accepted answer: user2259432 (answer 24300334). - [How to select items in JQ based on value in array](https://stackoverflow.com/questions/25649960/how-to-select-items-in-jq-based-on-value-in-array) — question: K2xL; accepted answer: K2xL (answer 25650468). - [How do I remove all keys except one with jq?](https://stackoverflow.com/questions/27838154/how-do-i-remove-all-keys-except-one-with-jq) — question: Wilfred Hughes; accepted answer: Girish (answer 27838881). - [How to simplify aws DynamoDB query JSON output from the command line?](https://stackoverflow.com/questions/28593471/how-to-simplify-aws-dynamodb-query-json-output-from-the-command-line) — question: herve; accepted answer: Jeff Mercado (answer 28641626). - [jq Filter on sub object value](https://stackoverflow.com/questions/28615174/jq-filter-on-sub-object-value) — question: Christopher Helck; accepted answer: Hans Z. (answer 28617380). - [jq parsing get value](https://stackoverflow.com/questions/29389010/jq-parsing-get-value) — question: user3467696; accepted answer: Wintermute (answer 29389469). - [Update one value in array of dicts, using jq](https://stackoverflow.com/questions/29772676/update-one-value-in-array-of-dicts-using-jq) — question: Steve Bennett; accepted answer: Hans Z. (answer 29773197). - [Using jq to extract specific property values and output on a single line](https://stackoverflow.com/questions/29982897/using-jq-to-extract-specific-property-values-and-output-on-a-single-line) — question: mark; accepted answer: Jeff Mercado (answer 29982986). - [How to add a header to CSV export in jq?](https://stackoverflow.com/questions/30015555/how-to-add-a-header-to-csv-export-in-jq) — question: Anton Tarasenko; accepted answer: user3899165 (answer 30032247). - [How to extract keys from multiple, nested arrays using jq](https://stackoverflow.com/questions/30601278/how-to-extract-keys-from-multiple-nested-arrays-using-jq) — question: Paul Ericson; accepted answer: Hans Z. (answer 30602908). - [jq: Getting two levels of keys](https://stackoverflow.com/questions/33627427/jq-getting-two-levels-of-keys) — question: Henrik supports the community; accepted answer: user3899165 (answer 33630944). - [Sort descending by multiple keys in jq](https://stackoverflow.com/questions/35540294/sort-descending-by-multiple-keys-in-jq) — question: Roland Weisleder; accepted answer: user3899165 (answer 35541425). - [Flatten nested JSON using jq](https://stackoverflow.com/questions/37540717/flatten-nested-json-using-jq) — question: assafmo; accepted answer: user3899165 (answer 37555908). - [jq - How to select objects where a field is 'false'?](https://stackoverflow.com/questions/38186594/jq-how-to-select-objects-where-a-field-is-false) — question: x3nr0s; accepted answer: peak (answer 38187498). - [Recursive search values by key](https://stackoverflow.com/questions/38459429/recursive-search-values-by-key) — question: Ardling; accepted answer: user3899165 (answer 38460947). - [JQ delete multiple properties](https://stackoverflow.com/questions/38626762/jq-delete-multiple-properties) — question: Vu Le Anh; accepted answer: user3899165 (answer 38657597). - [Remove all null values](https://stackoverflow.com/questions/39500608/remove-all-null-values) — question: Ela; accepted answer: peak (answer 39501001). - [How to use jq to find all paths to a certain key](https://stackoverflow.com/questions/39800718/how-to-use-jq-to-find-all-paths-to-a-certain-key) — question: chrisst; accepted answer: peak (answer 39801036). - [Remove escape sequence characters like newline, tab and carriage return from JSON file](https://stackoverflow.com/questions/40321035/remove-escape-sequence-characters-like-newline-tab-and-carriage-return-from-jso) — question: user3792699; accepted answer: mklement0 (answer 40322380). - [How to swap key and value of an object using jq?](https://stackoverflow.com/questions/40847936/how-to-swap-key-and-value-of-an-object-using-jq) — question: k0pernikus; accepted answer: peak (answer 40849180). - [JQ: Filtering for keys](https://stackoverflow.com/questions/40923539/jq-filtering-for-keys) — question: DThimsen; accepted answer: peak (answer 40924154). - [Basic jq usage. How to get nested value](https://stackoverflow.com/questions/41712363/basic-jq-usage-how-to-get-nested-value) — question: nullUser; accepted answer: peak (answer 41713087). - [Getting the object array index in jq](https://stackoverflow.com/questions/41958475/getting-the-object-array-index-in-jq) — question: xeor; accepted answer: JimD. (answer 41958933). - [jq - Cannot index string with string](https://stackoverflow.com/questions/43842672/jq-cannot-index-string-with-string) — question: dice2011; accepted answer: ymonad (answer 43842886). - [Remove blank strings from array with jq?](https://stackoverflow.com/questions/44288635/remove-blank-strings-from-array-with-jq) — question: leeand00; accepted answer: user197693 (answer 44289083). - [Select entries based on multiple values in jq](https://stackoverflow.com/questions/44704404/select-entries-based-on-multiple-values-in-jq) — question: DGaff; accepted answer: peak (answer 44707560). - [jq count the number of items in json by a specific key](https://stackoverflow.com/questions/45170897/jq-count-the-number-of-items-in-json-by-a-specific-key) — question: Eleanor; accepted answer: peak (answer 45171347). - [Extract the first and the last value of a json array/object](https://stackoverflow.com/questions/45979477/extract-the-first-and-the-last-value-of-a-json-array-object) — question: TimoC; accepted answer: jq170727 (answer 45986265). - [How can I count number of elements after query?](https://stackoverflow.com/questions/46460631/how-can-i-count-number-of-elements-after-query) — question: Konstantin Shestakov; accepted answer: hek2mgl (answer 46460707). - [JQ select filter with multiple arguments](https://stackoverflow.com/questions/46530167/jq-select-filter-with-multiple-arguments) — question: ccpizza; accepted answer: bhansa (answer 46530324). - [How to extract all (also nested) key names with jq](https://stackoverflow.com/questions/46564720/how-to-extract-all-also-nested-key-names-with-jq) — question: wjtk; accepted answer: RomanPerekhrest (answer 46565894). - [jq: error: number and string cannot be added](https://stackoverflow.com/questions/46911763/jq-error-number-and-string-cannot-be-added) — question: Chris; accepted answer: hek2mgl (answer 46912879). - [jq: Change multiple values](https://stackoverflow.com/questions/47355901/jq-change-multiple-values) — question: OrangePot; accepted answer: jq170727 (answer 47357956). - [Remove a key:value from an JSON object using jq](https://stackoverflow.com/questions/48529016/remove-a-keyvalue-from-an-json-object-using-jq) — question: MostlyRquestions; accepted answer: exic (answer 60723320). - [jq replace part of value in json](https://stackoverflow.com/questions/49181898/jq-replace-part-of-value-in-json) — question: Ryan Loeffler; accepted answer: RomanPerekhrest (answer 49182262). - [Kubernetes / kubectl print all secrets](https://stackoverflow.com/questions/50286066/kubernetes-kubectl-print-all-secrets) — question: s g; accepted answer: peak (answer 50286402). - [Escape field name in jq that contains '@' and '-'?](https://stackoverflow.com/questions/51494389/escape-field-name-in-jq-that-contains-and) — question: shadyabhi; accepted answer: chepner (answer 51502506). - [jq split string and assign](https://stackoverflow.com/questions/51837624/jq-split-string-and-assign) — question: Rizwan Saeed; accepted answer: peak (answer 51837735). - [How to use jq wildcard](https://stackoverflow.com/questions/56355822/how-to-use-jq-wildcard) — question: executable; accepted answer: Jeff Mercado (answer 56356012). - [Get or default function in JQ?](https://stackoverflow.com/questions/56555155/get-or-default-function-in-jq) — question: Yun Huang; accepted answer: peak (answer 56555442). - [Filter empty and/or null values with jq](https://stackoverflow.com/questions/56692037/filter-empty-and-or-null-values-with-jq) — question: Fernando César; accepted answer: peak (answer 56694468). - [jq: get first n elements of an array field](https://stackoverflow.com/questions/70100534/jq-get-first-n-elements-of-an-array-field) — question: Jordi; accepted answer: Inian (answer 70100645). - [Using jq to parse json output of AWS CLI](https://stackoverflow.com/questions/18796515/using-jq-to-parse-json-output-of-aws-cli) — question: cp_clegg; accepted answer: konsolebox (answer 18796928). - [Select nth element from multidimensional JSON array with jq](https://stackoverflow.com/questions/18837939/select-nth-element-from-multidimensional-json-array-with-jq) — question: Dreen; accepted answer: Psylone (answer 18890702). - [Complex jq Filter](https://stackoverflow.com/questions/24875419/complex-jq-filter) — question: AJ.; accepted answer: Jeff Mercado (answer 24875844). - [Create object from array of keys and values](https://stackoverflow.com/questions/28103489/create-object-from-array-of-keys-and-values) — question: Abdullah Jibaly; accepted answer: Abdullah Jibaly (answer 28117842). - [How can I filter an array of json objects using jq?](https://stackoverflow.com/questions/28458046/how-can-i-filter-an-array-of-json-objects-using-jq) — question: David Vezzani; accepted answer: Jeff Mercado (answer 28461226). - [Extracting selected properties from a nested JSON object with jq](https://stackoverflow.com/questions/29259249/extracting-selected-properties-from-a-nested-json-object-with-jq) — question: Rob Cowie; accepted answer: Jeff Mercado (answer 29259478). - [Multiple filters using JQ](https://stackoverflow.com/questions/30768196/multiple-filters-using-jq) — question: jago; accepted answer: Jeff Mercado (answer 30769322). - [How to increment a number when transforming json](https://stackoverflow.com/questions/31161831/how-to-increment-a-number-when-transforming-json) — question: neurolabs; accepted answer: Rambo Ramon (answer 31162086). - [Make JQ transform an array of objects to a string](https://stackoverflow.com/questions/32275538/make-jq-transform-an-array-of-objects-to-a-string) — question: jago; accepted answer: Jeff Mercado (answer 32276111). - ["Transposing" objects in jq](https://stackoverflow.com/questions/32357240/transposing-objects-in-jq) — question: cmbuckley; accepted answer: Jeff Mercado (answer 32359453). - [get json object from stringify object using jq filter in shell script](https://stackoverflow.com/questions/32629301/get-json-object-from-stringify-object-using-jq-filter-in-shell-script) — question: Ranjit Singh; accepted answer: peak (answer 32633865). - [Converting comma delimited JSON to a newline delimited node](https://stackoverflow.com/questions/32750745/converting-comma-delimited-json-to-a-newline-delimited-node) — question: kisonay; accepted answer: peak (answer 32752044). - [JQ If then Else](https://stackoverflow.com/questions/33572755/jq-if-then-else) — question: Tom; accepted answer: jwodder (answer 33572853). - [Parentheses in JQ for .key](https://stackoverflow.com/questions/33700997/parentheses-in-jq-for-key) — question: Kyle Brandt; accepted answer: Jeff Mercado (answer 33701068). - [How do I create an incremental index with jq](https://stackoverflow.com/questions/34510742/how-do-i-create-an-incremental-index-with-jq) — question: UVRadiation; accepted answer: peak (answer 34513774). - [jq: exclude object with specified key](https://stackoverflow.com/questions/35199809/jq-exclude-object-with-specified-key) — question: LPby; accepted answer: user3899165 (answer 35202218). - [Return parent node with jq while querying one of its children](https://stackoverflow.com/questions/37559582/return-parent-node-with-jq-while-querying-one-of-its-children) — question: Marty; accepted answer: peak (answer 37560129). - [Acting on the existence or non-existence of a key using JQ](https://stackoverflow.com/questions/38335869/acting-on-the-existence-or-non-existence-of-a-key-using-jq) — question: jago; accepted answer: peak (answer 38337572). - [Using exponential powers in jq](https://stackoverflow.com/questions/38495941/using-exponential-powers-in-jq) — question: michaelcoyote; accepted answer: Jeff Mercado (answer 38496753). - [Modify object properties conditionally with jq](https://stackoverflow.com/questions/39320865/modify-object-properties-conditionally-with-jq) — question: dr.tyrion; accepted answer: peak (answer 39321021). - [jq select attribute if any array element satisfies a condition](https://stackoverflow.com/questions/39914570/jq-select-attribute-if-any-array-element-satisfies-a-condition) — question: Peter Lutz; accepted answer: peak (answer 39923609). - [JQ: Reduce array of objects to object, adding to array](https://stackoverflow.com/questions/39994652/jq-reduce-array-of-objects-to-object-adding-to-array) — question: Alex; accepted answer: peak (answer 40004786). - [How to select key and sub-object property via jq?](https://stackoverflow.com/questions/40845789/how-to-select-key-and-sub-object-property-via-jq) — question: k0pernikus; accepted answer: Cardenalero (answer 40846880). - [jq find keys whose value is an array containing a specific element](https://stackoverflow.com/questions/41111477/jq-find-keys-whose-value-is-an-array-containing-a-specific-element) — question: mg03; accepted answer: Jeff Mercado (answer 41111516). - [Parsing JSON format with jq](https://stackoverflow.com/questions/41150539/parsing-json-format-with-jq) — question: user4918296; accepted answer: chepner (answer 41151246). - [Looking for a jq filter to exclude nested objects based on the value of a nested property](https://stackoverflow.com/questions/41195915/looking-for-a-jq-filter-to-exclude-nested-objects-based-on-the-value-of-a-nested) — question: Garrett Boatman; accepted answer: peak (answer 41200053). - [Modifying nested json conditionally using jq](https://stackoverflow.com/questions/41369121/modifying-nested-json-conditionally-using-jq) — question: dbarnett; accepted answer: Bertrand Martel (answer 41369992). - [jq - How to print key (not value of key) and iterate over keys to print sub value](https://stackoverflow.com/questions/41386019/jq-how-to-print-key-not-value-of-key-and-iterate-over-keys-to-print-sub-valu) — question: David Vasandani; accepted answer: Andreas Louv (answer 41386230). - [Jq: testing a field during walk](https://stackoverflow.com/questions/42227949/jq-testing-a-field-during-walk) — question: Kshitiz Sharma; accepted answer: hek2mgl (answer 42228119). - [substitute certain characters in strings found in an object](https://stackoverflow.com/questions/42355182/substitute-certain-characters-in-strings-found-in-an-object) — question: lorem; accepted answer: hek2mgl (answer 42355445). - [Convert a simple JSON object to a properties file](https://stackoverflow.com/questions/42356536/convert-a-simple-json-object-to-a-properties-file) — question: lorem; accepted answer: hek2mgl (answer 42356580). - [Extracting data from _source document in ElasticSearch results with jq](https://stackoverflow.com/questions/42846102/extracting-data-from-source-document-in-elasticsearch-results-with-jq) — question: Sam G; accepted answer: Charles Duffy (answer 42846175). - [Extract schema of nested JSON object](https://stackoverflow.com/questions/43379692/extract-schema-of-nested-json-object) — question: nik; accepted answer: peak (answer 43380040). - [Filter array with jq based on nested values](https://stackoverflow.com/questions/43397216/filter-array-with-jq-based-on-nested-values) — question: bhu Boue vidya; accepted answer: peak (answer 43398788). - [Use jq to turn x=y pairs into key/value pairs](https://stackoverflow.com/questions/43729643/use-jq-to-turn-x-y-pairs-into-key-value-pairs) — question: Ken Pronovici; accepted answer: peak (answer 43729713). - [Using jq to update objects within a JSON document if the value corresponding to a given key starts with a specified string](https://stackoverflow.com/questions/44410394/using-jq-to-update-objects-within-a-json-document-if-the-value-corresponding-to) — question: manixx; accepted answer: hek2mgl (answer 44411730). - [jq - nested dictionary parser and extract key](https://stackoverflow.com/questions/44439671/jq-nested-dictionary-parser-and-extract-key) — question: ptou; accepted answer: Jeff Mercado (answer 44440931). - [How concatenate multiple json objects with a delimiter comma using jq](https://stackoverflow.com/questions/44812062/how-concatenate-multiple-json-objects-with-a-delimiter-comma-using-jq) — question: Eleanor; accepted answer: peak (answer 44813170). - [jq select objects that have specific value in nested json bash](https://stackoverflow.com/questions/44832475/jq-select-objects-that-have-specific-value-in-nested-json-bash) — question: Eleanor; accepted answer: peak (answer 44833420). - [Invalid numeric literal with jq](https://stackoverflow.com/questions/44985737/invalid-numeric-literal-with-jq) — question: Gaius; accepted answer: Bertrand Martel (answer 44987362). - [How do I update a single value in a nested array of objects in a json document using jq?](https://stackoverflow.com/questions/45747895/how-do-i-update-a-single-value-in-a-nested-array-of-objects-in-a-json-document-u) — question: zayquan; accepted answer: jq170727 (answer 45748203). - [jq get each value in array with parent](https://stackoverflow.com/questions/45982943/jq-get-each-value-in-array-with-parent) — question: Glen Solsberry; accepted answer: Michał Politowski (answer 45984077). - [JQ sorting key by arbitrary order](https://stackoverflow.com/questions/46796701/jq-sorting-key-by-arbitrary-order) — question: Astro; accepted answer: jq170727 (answer 46797833). - [Parsing nested json with jq](https://stackoverflow.com/questions/46956201/parsing-nested-json-with-jq) — question: Vini; accepted answer: Oliver Baumann (answer 46956950). - [jq: error: Cannot iterate over string](https://stackoverflow.com/questions/47012967/jq-error-cannot-iterate-over-string) — question: Chris; accepted answer: RomanPerekhrest (answer 47013146). - [jq error syntax error, unexpected '=', expecting '}' (Unix shell quoting issues?) at <top-level>](https://stackoverflow.com/questions/47342084/jq-error-syntax-error-unexpected-expecting-unix-shell-quoting-issues) — question: spiderman; accepted answer: Jacob Krall (answer 47342113). - [Count records with missing keys using jq](https://stackoverflow.com/questions/47420833/count-records-with-missing-keys-using-jq) — question: iskandarblue; accepted answer: jq170727 (answer 47421029). - [Get specific key value pairs with jq](https://stackoverflow.com/questions/47421993/get-specific-key-value-pairs-with-jq) — question: iskandarblue; accepted answer: janos (answer 47422063). - [Replacing values in JSON using values from another file with jq](https://stackoverflow.com/questions/47437773/replacing-values-in-json-using-values-from-another-file-with-jq) — question: James Brown; accepted answer: peak (answer 47438214). - [Convert JSON array into CSV using jq](https://stackoverflow.com/questions/47730946/convert-json-array-into-csv-using-jq) — question: Rajiv Rai; accepted answer: RomanPerekhrest (answer 47733020). - [Parsing float value from string by jq](https://stackoverflow.com/questions/48077471/parsing-float-value-from-string-by-jq) — question: Sakares; accepted answer: RomanPerekhrest (answer 48078423). - [Transform a particular field with jq](https://stackoverflow.com/questions/48258020/transform-a-particular-field-with-jq) — question: Sumit Jain; accepted answer: peak (answer 48258369). - [How do I sort a possibly-absent array with jq?](https://stackoverflow.com/questions/48306264/how-do-i-sort-a-possibly-absent-array-with-jq) — question: Wilfred Hughes; accepted answer: Jeff Mercado (answer 48308247). - [jq cannot be tsv-formatted, only array error](https://stackoverflow.com/questions/48764829/jq-cannot-be-tsv-formatted-only-array-error) — question: glitchtracker; accepted answer: hek2mgl (answer 48764947). - [JQ edit file in place after using JQ Select](https://stackoverflow.com/questions/48878003/jq-edit-file-in-place-after-using-jq-select) — question: Goldfish; accepted answer: peak (answer 48878072). - [How can I duplicate an existing object within a JSON array using jq?](https://stackoverflow.com/questions/48983196/how-can-i-duplicate-an-existing-object-within-a-json-array-using-jq) — question: m.brocks; accepted answer: RomanPerekhrest (answer 48984894). - [jq json filter and keep original structure](https://stackoverflow.com/questions/48997962/jq-json-filter-and-keep-original-structure) — question: Alessandro Perucchi; accepted answer: RomanPerekhrest (answer 48998014). - [jq - how to output document if a value is not null?](https://stackoverflow.com/questions/49105880/jq-how-to-output-document-if-a-value-is-not-null) — question: Reddy SK; accepted answer: Bob Dust (answer 49106090). - [Delete key present inside objects array via jq](https://stackoverflow.com/questions/49127676/delete-key-present-inside-objects-array-via-jq) — question: shadyabhi; accepted answer: Inian (answer 49127869). - [jq split string by a pattern](https://stackoverflow.com/questions/49551805/jq-split-string-by-a-pattern) — question: Naveen K Reddy; accepted answer: peak (answer 49556889). - [Get data from a JSON output using 'jq'](https://stackoverflow.com/questions/49556242/get-data-from-a-json-output-using-jq) — question: RafaelBrianeziDaSilva; accepted answer: Inian (answer 49556547). - [JQ - Merge two arrays](https://stackoverflow.com/questions/50354926/jq-merge-two-arrays) — question: Nam Nguyen; accepted answer: RomanPerekhrest (answer 50355185). - [How to filter keys by name, then access nested object using jq](https://stackoverflow.com/questions/50864894/how-to-filter-keys-by-name-then-access-nested-object-using-jq) — question: lazy_tester; accepted answer: peak (answer 50865502). - [Flatten nested JSON array with JQ](https://stackoverflow.com/questions/51477085/flatten-nested-json-array-with-jq) — question: Omer Levi Hevroni; accepted answer: Inian (answer 51483770). - [JQ How to merge multiple objects into one](https://stackoverflow.com/questions/51491317/jq-how-to-merge-multiple-objects-into-one) — question: JdeHaan; accepted answer: peak (answer 51492578). - [jq - Find a JSON object based on one of its values and get another value from it](https://stackoverflow.com/questions/51558701/jq-find-a-json-object-based-on-one-of-its-values-and-get-another-value-from-it) — question: user5971350; accepted answer: peak (answer 51563052). - [filter json via bash - case insensitive](https://stackoverflow.com/questions/51718102/filter-json-via-bash-case-insensitive) — question: hey; accepted answer: peak (answer 51718532). - [Use jq in Bash to sort object properties by descending length of their value](https://stackoverflow.com/questions/51914316/use-jq-in-bash-to-sort-object-properties-by-descending-length-of-their-value) — question: MikeSchinkel; accepted answer: peak (answer 51914402). - [How to get jq to print valid json after applying a filter](https://stackoverflow.com/questions/52067816/how-to-get-jq-to-print-valid-json-after-applying-a-filter) — question: Dan; accepted answer: weirdan (answer 52067905). - [jq conditional update an array element](https://stackoverflow.com/questions/52170924/jq-conditional-update-an-array-element) — question: CLO; accepted answer: CLO (answer 52172213). - [Using jq, convert array of name/value pairs to object with named keys](https://stackoverflow.com/questions/52303570/using-jq-convert-array-of-name-value-pairs-to-object-with-named-keys) — question: Josip Medved; accepted answer: boweeb (answer 76175252). - [JQ add properties to nested object in nested array](https://stackoverflow.com/questions/52441157/jq-add-properties-to-nested-object-in-nested-array) — question: rascio; accepted answer: oliv (answer 52442907). - [jq select or statement](https://stackoverflow.com/questions/53448845/jq-select-or-statement) — question: eekfonky; accepted answer: hek2mgl (answer 53449125). - [jq - filter array does not contain](https://stackoverflow.com/questions/53512985/jq-filter-array-does-not-contain) — question: TimRiker; accepted answer: Kamal (answer 53513222). - [How can i match fields with wildcards using jq?](https://stackoverflow.com/questions/53721635/how-can-i-match-fields-with-wildcards-using-jq) — question: Alessandro; accepted answer: Inian (answer 53722321). - [Modifying array of key value in JSON jq](https://stackoverflow.com/questions/54039268/modifying-array-of-key-value-in-json-jq) — question: zdk; accepted answer: Thor (answer 54041253). - [Use JQ "contains" and suppress errors when key not found](https://stackoverflow.com/questions/54087732/use-jq-contains-and-suppress-errors-when-key-not-found) — question: mfaiz; accepted answer: AKstat (answer 54087993). - [jq to_entries string and number cannot be added](https://stackoverflow.com/questions/54184147/jq-to-entries-string-and-number-cannot-be-added) — question: Alex; accepted answer: peak (answer 54184316). - [Selecting in JQ with Contains in a Array](https://stackoverflow.com/questions/54334293/selecting-in-jq-with-contains-in-a-array) — question: Aksanth; accepted answer: peak (answer 54337162). - [JQ, how to count depending on conditions?](https://stackoverflow.com/questions/54624827/jq-how-to-count-depending-on-conditions) — question: Dimitri Kopriwa; accepted answer: Inian (answer 54624970). - [JQ Select Objects Where Inner Key Exists](https://stackoverflow.com/questions/55251603/jq-select-objects-where-inner-key-exists) — question: Radford; accepted answer: oguz ismail (answer 55251776). - [compare 2 json arrays and return the difference](https://stackoverflow.com/questions/55606056/compare-2-json-arrays-and-return-the-difference) — question: Unfaced; accepted answer: KamilCuk (answer 55606167). - [How to extract fields from a json string using jq](https://stackoverflow.com/questions/56444091/how-to-extract-fields-from-a-json-string-using-jq) — question: rony thomas; accepted answer: Aaron (answer 56444177). - [JQ: How to multiply values that are recognised as strings?](https://stackoverflow.com/questions/56861281/jq-how-to-multiply-values-that-are-recognised-as-strings) — question: user11731610; accepted answer: Sufiyan Ghori (answer 56861410). - [jq JSON handle missing fields](https://stackoverflow.com/questions/57069940/jq-json-handle-missing-fields) — question: clay; accepted answer: Inian (answer 57070757). - [jq find the max in quoted values](https://stackoverflow.com/questions/57071166/jq-find-the-max-in-quoted-values) — question: Nicolas Pepinster; accepted answer: Inian (answer 57071319). - [How to get inverse operation of flatten for objects using jq?](https://stackoverflow.com/questions/57154970/how-to-get-inverse-operation-of-flatten-for-objects-using-jq) — question: laracee; accepted answer: peak (answer 57155523). - [Deleting a field in nested objects in JQ](https://stackoverflow.com/questions/57488844/deleting-a-field-in-nested-objects-in-jq) — question: Iain Duncan; accepted answer: peak (answer 57489062). - ["Ternary logic" for returned value: foo, bar or error](https://stackoverflow.com/questions/57571424/ternary-logic-for-returned-value-foo-bar-or-error) — question: dabbl0r; accepted answer: oguz ismail (answer 57573926). - [jq: How to replace element in an array or add it if it doesn't exist](https://stackoverflow.com/questions/58239765/jq-how-to-replace-element-in-an-array-or-add-it-if-it-doesnt-exist) — question: karstx; accepted answer: peak (answer 58242525). - [jq sort using the value of a nested array element](https://stackoverflow.com/questions/58665496/jq-sort-using-the-value-of-a-nested-array-element) — question: Sanjay Saxena; accepted answer: oguz ismail (answer 58665725). - [Need help in reducing array of object into a single sum](https://stackoverflow.com/questions/58917592/need-help-in-reducing-array-of-object-into-a-single-sum) — question: uday8486; accepted answer: chepner (answer 58917813). - [How to round, floor, ceil, truncate](https://stackoverflow.com/questions/59063536/how-to-round-floor-ceil-truncate) — question: jmpsabisb; accepted answer: oguz ismail (answer 59063940). - [How can I print an arbitrary string with JQ?](https://stackoverflow.com/questions/59551206/how-can-i-print-an-arbitrary-string-with-jq) — question: Gruber; accepted answer: Rohit Mishra (answer 59551309). - [jq error "object is not valid in a csv row"](https://stackoverflow.com/questions/59778708/jq-error-object-is-not-valid-in-a-csv-row) — question: l'L'l; accepted answer: peak (answer 59801016). - [How to group by in jq?](https://stackoverflow.com/questions/60011507/how-to-group-by-in-jq) — question: developthou; accepted answer: Torben Pi Jensen (answer 60011871). - [How to calculate average using jq from JSON output](https://stackoverflow.com/questions/60460376/how-to-calculate-average-using-jq-from-json-output) — question: novice sysadmin; accepted answer: Poshi (answer 60460606). - [jq - how |= operator works?](https://stackoverflow.com/questions/60609883/jq-how-operator-works) — question: mon; accepted answer: chepner (answer 60609987). - [Convert sequence of JSON lines (JSONL) to JSON array](https://stackoverflow.com/questions/60637859/convert-sequence-of-json-lines-jsonl-to-json-array) — question: km1; accepted answer: Charles Duffy (answer 60639286). - [Using "sub()" in jq v1.6 errors in "sub is not defined"](https://stackoverflow.com/questions/60865446/using-sub-in-jq-v1-6-errors-in-sub-is-not-defined) — question: Lukas Grebe; accepted answer: Inian (answer 60865506). - [jq substr() equivalent to format a value](https://stackoverflow.com/questions/61012699/jq-substr-equivalent-to-format-a-value) — question: Wil; accepted answer: oguz ismail (answer 61012765). - [jq how to get the last entry in an object](https://stackoverflow.com/questions/61101083/jq-how-to-get-the-last-entry-in-an-object) — question: Timm; accepted answer: Aaron (answer 61101243). - [yq to get values from key value pair](https://stackoverflow.com/questions/61779277/yq-to-get-values-from-key-value-pair) — question: Saurabh Arora; accepted answer: Inian (answer 61780374). - [How do I extract a key with jq based on its child values](https://stackoverflow.com/questions/62031471/how-do-i-extract-a-key-with-jq-based-on-its-child-values) — question: Crell; accepted answer: customcommander (answer 62031684). - [downcase a value in JSON](https://stackoverflow.com/questions/62454640/downcase-a-value-in-json) — question: Tony; accepted answer: oguz ismail (answer 62454688). - [sort_by on array elements gives error 'Cannot index string with string "key"'](https://stackoverflow.com/questions/63126834/sort-by-on-array-elements-gives-error-cannot-index-string-with-string-key) — question: AK123; accepted answer: oguz ismail (answer 63127009). - [Replace \n with space in jq query/command output without tr and sed commands](https://stackoverflow.com/questions/63238759/replace-n-with-space-in-jq-query-command-output-without-tr-and-sed-commands) — question: Zack; accepted answer: dibery (answer 63239101). - [remove keys that are present in sibling object and have a certain value](https://stackoverflow.com/questions/63472280/remove-keys-that-are-present-in-sibling-object-and-have-a-certain-value) — question: Noim; accepted answer: oguz ismail (answer 63472740). - [jq - flatten parent objects into children](https://stackoverflow.com/questions/63578959/jq-flatten-parent-objects-into-children) — question: Melvyn de Kort; accepted answer: oguz ismail (answer 63579109). - [jq: Remove keys with empty string values](https://stackoverflow.com/questions/63635682/jq-remove-keys-with-empty-string-values) — question: Joe; accepted answer: Inian (answer 63635908). - [jq sort by value of key](https://stackoverflow.com/questions/63739892/jq-sort-by-value-of-key) — question: Future; accepted answer: Weeble (answer 63740046). - [JSON to plain text using jq](https://stackoverflow.com/questions/64140869/json-to-plain-text-using-jq) — question: user6524131; accepted answer: EdvardM (answer 64141445). - [How can I spread an object's properties in jq?](https://stackoverflow.com/questions/64605920/how-can-i-spread-an-objects-properties-in-jq) — question: nachocab; accepted answer: Weeble (answer 64605999). - [jq select record from array with min or max value of field](https://stackoverflow.com/questions/64698091/jq-select-record-from-array-with-min-or-max-value-of-field) — question: Artem Trunov; accepted answer: peak (answer 64701732). - [How can I pad numbers with 'jq'?](https://stackoverflow.com/questions/64957982/how-can-i-pad-numbers-with-jq) — question: Martin Mucha; accepted answer: customcommander (answer 64958079). - [Print the first value without knowing the key](https://stackoverflow.com/questions/65449514/print-the-first-value-without-knowing-the-key) — question: zeroweb; accepted answer: oguz ismail (answer 65449577). - [Parsing json with JQ : Where are the comma?](https://stackoverflow.com/questions/65717880/parsing-json-with-jq-where-are-the-comma) — question: Drak432; accepted answer: Weeble (answer 65718417). - [How to filter using jq array of strings which contains a specific value](https://stackoverflow.com/questions/67250481/how-to-filter-using-jq-array-of-strings-which-contains-a-specific-value) — question: kumar; accepted answer: kumar (answer 67250722). - [How to insert quotes in jq string interpolation in bash](https://stackoverflow.com/questions/67897266/how-to-insert-quotes-in-jq-string-interpolation-in-bash) — question: motionsickness; accepted answer: Benjamin W. (answer 67897417). - [How can I output the whole document in jq while replacing an item based on a field's value?](https://stackoverflow.com/questions/68074046/how-can-i-output-the-whole-document-in-jq-while-replacing-an-item-based-on-a-fie) — question: SeanKilleen; accepted answer: chepner (answer 68074534). - [jq case insensitive contains](https://stackoverflow.com/questions/68159673/jq-case-insensitive-contains) — question: Fight Daily; accepted answer: peak (answer 68160770). - [Produce output for values greater than n and ignore the rest in JQ](https://stackoverflow.com/questions/68818940/produce-output-for-values-greater-than-n-and-ignore-the-rest-in-jq) — question: DisplayName; accepted answer: oguz ismail (answer 68819110). - [jq get all unique values for a given key in a list of objects](https://stackoverflow.com/questions/69172925/jq-get-all-unique-values-for-a-given-key-in-a-list-of-objects) — question: Johnny Metz; accepted answer: peak (answer 69173048). - [Get unique objects and arrays based on key value](https://stackoverflow.com/questions/70015029/get-unique-objects-and-arrays-based-on-key-value) — question: Nick Hatfield; accepted answer: peak (answer 70016167). - [Array and String cannot have their containment checked error when trying to search array using jq](https://stackoverflow.com/questions/70187417/array-and-string-cannot-have-their-containment-checked-error-when-trying-to-sear) — question: yungblazeboy; accepted answer: 0stone0 (answer 70188269). - [JQ remove objects based on key value](https://stackoverflow.com/questions/70255282/jq-remove-objects-based-on-key-value) — question: Nick Hatfield; accepted answer: Barbaros Özhan (answer 70255965). - [Sort array inside a nested object while maintaining the original json object](https://stackoverflow.com/questions/71074096/sort-array-inside-a-nested-object-while-maintaining-the-original-json-object) — question: cbetsworth_echo; accepted answer: pmf (answer 71074149). - [Get value if object or string if string in jq array](https://stackoverflow.com/questions/72801812/get-value-if-object-or-string-if-string-in-jq-array) — question: Saddy; accepted answer: glenn jackman (answer 72801992). - [Use jq to get all parent keys of specific key](https://stackoverflow.com/questions/73716917/use-jq-to-get-all-parent-keys-of-specific-key) — question: Max; accepted answer: oguz ismail (answer 73717316). - [how to select based on a substring in jq](https://stackoverflow.com/questions/74400075/how-to-select-based-on-a-substring-in-jq) — question: rusheb; accepted answer: rusheb (answer 74400076). - [Possible to use has() with nested keys?](https://stackoverflow.com/questions/75769972/possible-to-use-has-with-nested-keys) — question: art vanderlay; accepted answer: pmf (answer 75770006). - [How to remove null values while extracting data with jq?](https://stackoverflow.com/questions/75952221/how-to-remove-null-values-while-extracting-data-with-jq) — question: Starbucks Admin; accepted answer: pmf (answer 75952611).