Datasets:
Download ATTRIBUTION.md from asterbraid/jqweave-real-train-data: direct link, hf CLI and curl.
- Browser
- Download file 37.6 kB
-
https://huggingface.co/datasets/asterbraid/jqweave-real-train-data/resolve/main/ATTRIBUTION.md
- Command line
-
hf download hf://datasets/asterbraid/jqweave-real-train-data/ATTRIBUTION.md
-
curl -L -o ATTRIBUTION.md https://huggingface.co/datasets/asterbraid/jqweave-real-train-data/resolve/main/ATTRIBUTION.md
Source attribution
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 — question: K2xL; accepted answer: K2xL (answer 25650468).
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? — question: herve; accepted answer: Jeff Mercado (answer 28641626).
jq Filter on sub object value — question: Christopher Helck; accepted answer: Hans Z. (answer 28617380).
jq parsing get value — question: user3467696; accepted answer: Wintermute (answer 29389469).
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 — question: mark; accepted answer: Jeff Mercado (answer 29982986).
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 — question: Paul Ericson; accepted answer: Hans Z. (answer 30602908).
jq: Getting two levels of keys — question: Henrik supports the community; accepted answer: user3899165 (answer 33630944).
Sort descending by multiple keys in jq — question: Roland Weisleder; accepted answer: user3899165 (answer 35541425).
Flatten nested JSON using jq — question: assafmo; accepted answer: user3899165 (answer 37555908).
jq - How to select objects where a field is 'false'? — question: x3nr0s; accepted answer: peak (answer 38187498).
Recursive search values by key — question: Ardling; accepted answer: user3899165 (answer 38460947).
JQ delete multiple properties — question: Vu Le Anh; accepted answer: user3899165 (answer 38657597).
Remove all null values — question: Ela; accepted answer: peak (answer 39501001).
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 — question: user3792699; accepted answer: mklement0 (answer 40322380).
How to swap key and value of an object using jq? — question: k0pernikus; accepted answer: peak (answer 40849180).
JQ: Filtering for keys — question: DThimsen; accepted answer: peak (answer 40924154).
Basic jq usage. How to get nested value — question: nullUser; accepted answer: peak (answer 41713087).
Getting the object array index in jq — question: xeor; accepted answer: JimD. (answer 41958933).
jq - Cannot index string with string — question: dice2011; accepted answer: ymonad (answer 43842886).
Remove blank strings from array with jq? — question: leeand00; accepted answer: user197693 (answer 44289083).
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 — question: Eleanor; accepted answer: peak (answer 45171347).
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? — question: Konstantin Shestakov; accepted answer: hek2mgl (answer 46460707).
JQ select filter with multiple arguments — question: ccpizza; accepted answer: bhansa (answer 46530324).
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 — question: Chris; accepted answer: hek2mgl (answer 46912879).
jq: Change multiple values — question: OrangePot; accepted answer: jq170727 (answer 47357956).
Remove a key:value from an JSON object using jq — question: MostlyRquestions; accepted answer: exic (answer 60723320).
jq replace part of value in json — question: Ryan Loeffler; accepted answer: RomanPerekhrest (answer 49182262).
Kubernetes / kubectl print all secrets — question: s g; accepted answer: peak (answer 50286402).
Escape field name in jq that contains '@' and '-'? — question: shadyabhi; accepted answer: chepner (answer 51502506).
jq split string and assign — question: Rizwan Saeed; accepted answer: peak (answer 51837735).
How to use jq wildcard — question: executable; accepted answer: Jeff Mercado (answer 56356012).
Get or default function in JQ? — question: Yun Huang; accepted answer: peak (answer 56555442).
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 — question: Jordi; accepted answer: Inian (answer 70100645).
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 — question: Dreen; accepted answer: Psylone (answer 18890702).
Complex jq Filter — question: AJ.; accepted answer: Jeff Mercado (answer 24875844).
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? — question: David Vezzani; accepted answer: Jeff Mercado (answer 28461226).
Extracting selected properties from a nested JSON object with jq — question: Rob Cowie; accepted answer: Jeff Mercado (answer 29259478).
Multiple filters using JQ — question: jago; accepted answer: Jeff Mercado (answer 30769322).
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 — question: jago; accepted answer: Jeff Mercado (answer 32276111).
"Transposing" objects in jq — question: cmbuckley; accepted answer: Jeff Mercado (answer 32359453).
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 — question: kisonay; accepted answer: peak (answer 32752044).
JQ If then Else — question: Tom; accepted answer: jwodder (answer 33572853).
Parentheses in JQ for .key — question: Kyle Brandt; accepted answer: Jeff Mercado (answer 33701068).
How do I create an incremental index with jq — question: UVRadiation; accepted answer: peak (answer 34513774).
jq: exclude object with specified key — question: LPby; accepted answer: user3899165 (answer 35202218).
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 — question: jago; accepted answer: peak (answer 38337572).
Using exponential powers in jq — question: michaelcoyote; accepted answer: Jeff Mercado (answer 38496753).
Modify object properties conditionally with jq — question: dr.tyrion; accepted answer: peak (answer 39321021).
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 — question: Alex; accepted answer: peak (answer 40004786).
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 — question: mg03; accepted answer: Jeff Mercado (answer 41111516).
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 — question: Garrett Boatman; accepted answer: peak (answer 41200053).
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 — question: David Vasandani; accepted answer: Andreas Louv (answer 41386230).
Jq: testing a field during walk — question: Kshitiz Sharma; accepted answer: hek2mgl (answer 42228119).
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 — question: lorem; accepted answer: hek2mgl (answer 42356580).
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 — question: nik; accepted answer: peak (answer 43380040).
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 — 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 — question: manixx; accepted answer: hek2mgl (answer 44411730).
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 — question: Eleanor; accepted answer: peak (answer 44813170).
jq select objects that have specific value in nested json bash — question: Eleanor; accepted answer: peak (answer 44833420).
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? — question: zayquan; accepted answer: jq170727 (answer 45748203).
jq get each value in array with parent — question: Glen Solsberry; accepted answer: Michał Politowski (answer 45984077).
JQ sorting key by arbitrary order — question: Astro; accepted answer: jq170727 (answer 46797833).
Parsing nested json with jq — question: Vini; accepted answer: Oliver Baumann (answer 46956950).
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> — question: spiderman; accepted answer: Jacob Krall (answer 47342113).
Count records with missing keys using jq — question: iskandarblue; accepted answer: jq170727 (answer 47421029).
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 — question: James Brown; accepted answer: peak (answer 47438214).
Convert JSON array into CSV using jq — question: Rajiv Rai; accepted answer: RomanPerekhrest (answer 47733020).
Parsing float value from string by jq — question: Sakares; accepted answer: RomanPerekhrest (answer 48078423).
Transform a particular field with jq — question: Sumit Jain; accepted answer: peak (answer 48258369).
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 — question: glitchtracker; accepted answer: hek2mgl (answer 48764947).
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? — question: m.brocks; accepted answer: RomanPerekhrest (answer 48984894).
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? — question: Reddy SK; accepted answer: Bob Dust (answer 49106090).
Delete key present inside objects array via jq — question: shadyabhi; accepted answer: Inian (answer 49127869).
jq split string by a pattern — question: Naveen K Reddy; accepted answer: peak (answer 49556889).
Get data from a JSON output using 'jq' — question: RafaelBrianeziDaSilva; accepted answer: Inian (answer 49556547).
JQ - Merge two arrays — question: Nam Nguyen; accepted answer: RomanPerekhrest (answer 50355185).
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 — question: Omer Levi Hevroni; accepted answer: Inian (answer 51483770).
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 — question: user5971350; accepted answer: peak (answer 51563052).
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 — question: MikeSchinkel; accepted answer: peak (answer 51914402).
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 — question: CLO; accepted answer: CLO (answer 52172213).
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 — question: rascio; accepted answer: oliv (answer 52442907).
jq select or statement — question: eekfonky; accepted answer: hek2mgl (answer 53449125).
jq - filter array does not contain — question: TimRiker; accepted answer: Kamal (answer 53513222).
How can i match fields with wildcards using jq? — question: Alessandro; accepted answer: Inian (answer 53722321).
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 — question: mfaiz; accepted answer: AKstat (answer 54087993).
jq to_entries string and number cannot be added — question: Alex; accepted answer: peak (answer 54184316).
Selecting in JQ with Contains in a Array — question: Aksanth; accepted answer: peak (answer 54337162).
JQ, how to count depending on conditions? — question: Dimitri Kopriwa; accepted answer: Inian (answer 54624970).
JQ Select Objects Where Inner Key Exists — question: Radford; accepted answer: oguz ismail (answer 55251776).
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 — question: rony thomas; accepted answer: Aaron (answer 56444177).
JQ: How to multiply values that are recognised as strings? — question: user11731610; accepted answer: Sufiyan Ghori (answer 56861410).
jq JSON handle missing fields — question: clay; accepted answer: Inian (answer 57070757).
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? — question: laracee; accepted answer: peak (answer 57155523).
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 — question: dabbl0r; accepted answer: oguz ismail (answer 57573926).
jq: How to replace element in an array or add it if it doesn't exist — question: karstx; accepted answer: peak (answer 58242525).
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 — question: uday8486; accepted answer: chepner (answer 58917813).
How to round, floor, ceil, truncate — question: jmpsabisb; accepted answer: oguz ismail (answer 59063940).
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" — question: l'L'l; accepted answer: peak (answer 59801016).
How to group by in jq? — question: developthou; accepted answer: Torben Pi Jensen (answer 60011871).
How to calculate average using jq from JSON output — question: novice sysadmin; accepted answer: Poshi (answer 60460606).
jq - how |= operator works? — question: mon; accepted answer: chepner (answer 60609987).
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" — question: Lukas Grebe; accepted answer: Inian (answer 60865506).
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 — question: Timm; accepted answer: Aaron (answer 61101243).
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 — question: Crell; accepted answer: customcommander (answer 62031684).
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"' — question: AK123; accepted answer: oguz ismail (answer 63127009).
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 — question: Noim; accepted answer: oguz ismail (answer 63472740).
jq - flatten parent objects into children — question: Melvyn de Kort; accepted answer: oguz ismail (answer 63579109).
jq: Remove keys with empty string values — question: Joe; accepted answer: Inian (answer 63635908).
jq sort by value of key — question: Future; accepted answer: Weeble (answer 63740046).
JSON to plain text using jq — question: user6524131; accepted answer: EdvardM (answer 64141445).
How can I spread an object's properties in jq? — question: nachocab; accepted answer: Weeble (answer 64605999).
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'? — question: Martin Mucha; accepted answer: customcommander (answer 64958079).
Print the first value without knowing the key — question: zeroweb; accepted answer: oguz ismail (answer 65449577).
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 — question: kumar; accepted answer: kumar (answer 67250722).
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? — question: SeanKilleen; accepted answer: chepner (answer 68074534).
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 — question: DisplayName; accepted answer: oguz ismail (answer 68819110).
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 — question: Nick Hatfield; accepted answer: peak (answer 70016167).
Array and String cannot have their containment checked error when trying to search array using jq — question: yungblazeboy; accepted answer: 0stone0 (answer 70188269).
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 — question: cbetsworth_echo; accepted answer: pmf (answer 71074149).
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 — question: Max; accepted answer: oguz ismail (answer 73717316).
how to select based on a substring in jq — question: rusheb; accepted answer: rusheb (answer 74400076).
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? — question: Starbucks Admin; accepted answer: pmf (answer 75952611).