Datasets:
|
Download ATTRIBUTION.md from asterbraid/jqweave-so-data: direct link, hf CLI and curl.
- Browser
- Download file 11 kB
-
https://huggingface.co/datasets/asterbraid/jqweave-so-data/resolve/main/ATTRIBUTION.md
- Command line
-
hf download hf://datasets/asterbraid/jqweave-so-data/ATTRIBUTION.md
-
curl -L -o ATTRIBUTION.md https://huggingface.co/datasets/asterbraid/jqweave-so-data/resolve/main/ATTRIBUTION.md
11 kB
| # Source attribution | |
| - [Select objects based on value of variable in object using jq](https://stackoverflow.com/questions/18592173/select-objects-based-on-value-of-variable-in-object-using-jq) — question: Daniel; accepted answer: Daniel (answer 18608100). | |
| - [Parsing JSON with Unix tools](https://stackoverflow.com/questions/1955505/parsing-json-with-unix-tools) — question: auser; accepted answer: Brian Campbell (answer 1955555). | |
| - [jq Conditional output](https://stackoverflow.com/questions/19573517/jq-conditional-output) — question: clwen; accepted answer: max taldykin (answer 20489951). | |
| - [How to map an object to arrays so it can be converted to csv?](https://stackoverflow.com/questions/20181467/how-to-map-an-object-to-arrays-so-it-can-be-converted-to-csv) — question: lsl; accepted answer: Jeff Mercado (answer 24254365). | |
| - [How to count items in JSON object using command line?](https://stackoverflow.com/questions/21334348/how-to-count-items-in-json-object-using-command-line) — question: Édouard Lopez; accepted answer: Ken (answer 21355442). | |
| - [How to get key names from JSON using jq](https://stackoverflow.com/questions/23118341/how-to-get-key-names-from-json-using-jq) — question: Ezhilan Mahalingam; accepted answer: anubhava (answer 23118607). | |
| - [Flatten a JSON document using jq](https://stackoverflow.com/questions/24698188/flatten-a-json-document-using-jq) — question: Dror; accepted answer: Jeff Mercado (answer 24710337). | |
| - [How to convert a JSON object to key=value format in jq?](https://stackoverflow.com/questions/25378013/how-to-convert-a-json-object-to-key-value-format-in-jq) — question: gianebao; accepted answer: aioobe (answer 25378171). | |
| - [jq: how to filter an array of objects based on values in an inner array?](https://stackoverflow.com/questions/26701538/jq-how-to-filter-an-array-of-objects-based-on-values-in-an-inner-array) — question: Abe Voelker; accepted answer: Iain Samuel McLean Elder (answer 26701851). | |
| - [jq: nested object, extract top-level id and lift a value from internal object](https://stackoverflow.com/questions/27562424/jq-nested-object-extract-top-level-id-and-lift-a-value-from-internal-object) — question: tripleee; accepted answer: tripleee (answer 27562901). | |
| - [How do I sum the values in an array of maps in jq?](https://stackoverflow.com/questions/28484534/how-do-i-sum-the-values-in-an-array-of-maps-in-jq) — question: Alan Burlison; accepted answer: Jeff Mercado (answer 28485485). | |
| - [How to convert a JSON object stream into an array with jq](https://stackoverflow.com/questions/29404575/how-to-convert-a-json-object-stream-into-an-array-with-jq) — question: Qiang Li; accepted answer: Jeff Mercado (answer 29404613). | |
| - [JSON JQ if without else](https://stackoverflow.com/questions/29949184/json-jq-if-without-else) — question: user1578872; accepted answer: peak (answer 29962258). | |
| - [How do I update a single value in a json document using jq?](https://stackoverflow.com/questions/31034746/how-do-i-update-a-single-value-in-a-json-document-using-jq) — question: STW; accepted answer: Jeff Mercado (answer 31037640). | |
| - [How to use `jq` in a shell pipeline?](https://stackoverflow.com/questions/33247228/how-to-use-jq-in-a-shell-pipeline) — question: mgalgs; accepted answer: chepner (answer 33247259). | |
| - [Exclude column from jq json output](https://stackoverflow.com/questions/33895076/exclude-column-from-jq-json-output) — question: Leo Gallucci; accepted answer: hek2mgl (answer 33895231). | |
| - [Concat numbers from JSON without doublequotes using jq](https://stackoverflow.com/questions/33947584/concat-numbers-from-json-without-doublequotes-using-jq) — question: Synesso; accepted answer: xjedam (answer 33952189). | |
| - [jq: print key and value for each entry in an object](https://stackoverflow.com/questions/34226370/jq-print-key-and-value-for-each-entry-in-an-object) — question: Jeff Tang; accepted answer: peak (answer 34227629). | |
| - [Convert string to json in jq](https://stackoverflow.com/questions/34340549/convert-string-to-json-in-jq) — question: RJ-Adam; accepted answer: Jeff Mercado (answer 34340787). | |
| - [jq: Cannot index array with string](https://stackoverflow.com/questions/34543829/jq-cannot-index-array-with-string) — question: Xu Wang; accepted answer: hek2mgl (answer 34544406). | |
| - [jq - How to iterate through keys of different names](https://stackoverflow.com/questions/35086391/jq-how-to-iterate-through-keys-of-different-names) — question: Adam vonNieda; accepted answer: peak (answer 35091473). | |
| - [how to parse a JSON String with jq (or other alternatives)?](https://stackoverflow.com/questions/35154684/how-to-parse-a-json-string-with-jq-or-other-alternatives) — question: Colin Grogan; accepted answer: jwodder (answer 35155249). | |
| - [Output specific key value in object for each element in array with jq for JSON](https://stackoverflow.com/questions/35677309/output-specific-key-value-in-object-for-each-element-in-array-with-jq-for-json) — question: Zimbabwe Elephant; accepted answer: peak (answer 35677443). | |
| - [Deleting multiple keys at once with jq](https://stackoverflow.com/questions/36227245/deleting-multiple-keys-at-once-with-jq) — question: antun; accepted answer: user3899165 (answer 36228054). | |
| - [jq not working on tag name with dashes and numbers](https://stackoverflow.com/questions/37344329/jq-not-working-on-tag-name-with-dashes-and-numbers) — question: paul; accepted answer: fedorqui (answer 37344498). | |
| - [jq select value from array](https://stackoverflow.com/questions/37563691/jq-select-value-from-array) — question: Marvin Effing; accepted answer: Marvin Effing (answer 37567004). | |
| - [How to use `jq` to obtain the keys](https://stackoverflow.com/questions/37577683/how-to-use-jq-to-obtain-the-keys) — question: sudhishkr; accepted answer: Andreas Louv (answer 37577805). | |
| - [Concat 2 fields in JSON using jq](https://stackoverflow.com/questions/37710718/concat-2-fields-in-json-using-jq) — question: darthsidious; accepted answer: Anthony Battaglia (answer 37710802). | |
| - [jq: output array of json objects](https://stackoverflow.com/questions/38061346/jq-output-array-of-json-objects) — question: Mauricio Trajano; accepted answer: chepner (answer 38061430). | |
| - [How to filter array of objects by element property values using jq?](https://stackoverflow.com/questions/38121740/how-to-filter-array-of-objects-by-element-property-values-using-jq) — question: k0pernikus; accepted answer: André Senra (answer 38122029). | |
| - [get the first (or n'th) element in a jq json parsing](https://stackoverflow.com/questions/38500363/get-the-first-or-nth-element-in-a-jq-json-parsing) — question: Demian Glait; accepted answer: hek2mgl (answer 38500610). | |
| - [How do I print a parent value of an object when I am already deep into the object's children?](https://stackoverflow.com/questions/38689645/how-do-i-print-a-parent-value-of-an-object-when-i-am-already-deep-into-the-objec) — question: x3nr0s; accepted answer: user3899165 (answer 38693695). | |
| - [Extract a specific field from JSON output using jq](https://stackoverflow.com/questions/39228500/extract-a-specific-field-from-json-output-using-jq) — question: rmb; accepted answer: aaaaaa123456789 (answer 39228718). | |
| - [Get outputs from jq on a single line](https://stackoverflow.com/questions/40396445/get-outputs-from-jq-on-a-single-line) — question: Jitesh Sojitra; accepted answer: hmedia1 (answer 40396556). | |
| - [Pattern matching field names with jq](https://stackoverflow.com/questions/42051601/pattern-matching-field-names-with-jq) — question: manu; accepted answer: koalo (answer 42051804). | |
| - [Add new element to existing JSON array with jq](https://stackoverflow.com/questions/42245288/add-new-element-to-existing-json-array-with-jq) — question: Felipe; accepted answer: Inian (answer 42248841). | |
| - [Using jq, convert array of objects to object with named keys](https://stackoverflow.com/questions/42427725/using-jq-convert-array-of-objects-to-object-with-named-keys) — question: Mike N; accepted answer: peak (answer 42428341). | |
| - [jq: how to query for array values that don't contain text "foo"?](https://stackoverflow.com/questions/42746828/jq-how-to-query-for-array-values-that-dont-contain-text-foo) — question: Gavriel Fishel; accepted answer: J. Doe (answer 42747910). | |
| - [jq: group and key by property](https://stackoverflow.com/questions/43221453/jq-group-and-key-by-property) — question: replay; accepted answer: replay (answer 43221520). | |
| - [using jq to assign multiple output variables](https://stackoverflow.com/questions/43291389/using-jq-to-assign-multiple-output-variables) — question: user2328273; accepted answer: Bertrand Martel (answer 43293515). | |
| - [Using jq how can I replace the name of a key with something else](https://stackoverflow.com/questions/43522133/using-jq-how-can-i-replace-the-name-of-a-key-with-something-else) — question: user486670; accepted answer: RomanPerekhrest (answer 43522716). | |
| - [How to remove double-quotes in jq output for parsing json files in bash?](https://stackoverflow.com/questions/44656515/how-to-remove-double-quotes-in-jq-output-for-parsing-json-files-in-bash) — question: Chris F; accepted answer: Charles Duffy (answer 44656583). | |
| - [How to combine an array into a single string value when using CSV output in jq?](https://stackoverflow.com/questions/45165303/how-to-combine-an-array-into-a-single-string-value-when-using-csv-output-in-jq) — question: Emre Sevinç; accepted answer: zwer (answer 45165687). | |
| - [getting all the values of an array with jq](https://stackoverflow.com/questions/45523425/getting-all-the-values-of-an-array-with-jq) — question: Miss Alena; accepted answer: peak (answer 45524015). | |
| - [Printing multiple values on the same line](https://stackoverflow.com/questions/46131727/printing-multiple-values-on-the-same-line) — question: Mickster; accepted answer: jq170727 (answer 46131963). | |
| - [Removing a key from parent object with jq](https://stackoverflow.com/questions/47023795/removing-a-key-from-parent-object-with-jq) — question: Nicholas; accepted answer: jq170727 (answer 47024050). | |
| - [How to extract a field from each object in an array with jq?](https://stackoverflow.com/questions/48426052/how-to-extract-a-field-from-each-object-in-an-array-with-jq) — question: Chris F; accepted answer: John Kugelman (answer 48426543). | |
| - [How to add a field to a JSON object with the jq command?](https://stackoverflow.com/questions/49632521/how-to-add-a-field-to-a-json-object-with-the-jq-command) — question: Joe; accepted answer: peak (answer 49632947). | |
| - [Filter by Regex in JQ](https://stackoverflow.com/questions/50868203/filter-by-regex-in-jq) — question: user49; accepted answer: peak (answer 50868294). | |
| - [How do I sum all numbers from output of jq](https://stackoverflow.com/questions/52065570/how-do-i-sum-all-numbers-from-output-of-jq) — question: toy; accepted answer: Charles Duffy (answer 52065738). | |