jqlang/jq
View on GitHub ↗ ★ 36,014 C
Command-line JSON processor
104 mentions on Hacker News by 79 people: 15 stories, 89 comments · first 2012-10-21 · latest 2026-03-29
20082026
-
▲ 124
Jq Internals: Backtracking (2017)story by mshockwave · 2022-10-05 · 47 comments
-
…you can use Range requests to download only the first, say, 50KB, and pipe it to gunzip and jq. ( https://github.com/stedolan/jq/issues/31#issuecomment-900184... ) I would also be interested in helping throw such an analytical dataset into…
comment by sajacy · 2022-09-07 · in Health insurers just published close to a trillion hospital prices -
…I use it mostly for little cli utilities, so maybe it isn’t an exact refutation of your claim. [0] https://github.com/stedolan/jq
comment by a_conservative · 2022-06-05 · in The Beauty of Unix Pipelines (2020) -
▲ 5
Jq 1.6 release removed from GitHubstory by timdp · 2022-05-09 · 1 comment
-
…own solution. Contributing a solution to https://rosettacode.org/wiki/Category:Jq is also good. 1- https://github.com/stedolan/jq/blob/master/src/builtin.jq
comment by preferjq · 2022-04-26 · in Zq: An easier and faster alternative to jq -
…jq, in terms of a small set of core primitives. The implementations can be inspected in builtin.jq. https://github.com/stedolan/jq/blob/master/src/builtin.jq#L3
comment by aarchi · 2022-04-26 · in Zq: An easier and faster alternative to jq -
…is currently lacking a maintainer to assess a number of PRs that have accumulated since 2018. [0] https://github.com/stedolan/jq/wiki/jq-Language-Description [1] https://github.com/fadado/JBOL/blob/master/fadado.github.io/...
comment by psacawa · 2022-04-26 · in Zq: An easier and faster alternative to jq -
▲ 13
Jq Needs Contributorsstory by CyberRabbi · 2022-03-26 · 3 comments
-
https://github.com/stedolan/jq can manipulate arrays of objects and format as CSV
comment by TAForObvReasons · 2022-03-07 · in Select, put and delete data from JSON, TOML, YAML, XML and CSV files -
…a CI check for something that executes in milliseconds. [0] https://stackoverflow.com/a/1732454 [1] https://github.com/stedolan/jq [2] https://github.com/mikefarah/yq
comment by cfors · 2022-01-14 · in Grep one-liners as CI tasks -
…consume simple CSVs (and produce them) without anything else. There’s an entry in the cookbook wiki https://github.com/stedolan/jq/wiki/Cookbook#convert-a-csv-f... - I posted some usage examples a few months back…
comment by darrenf · 2021-12-23 · in Fq: Jq for Binary Formats -
…detailed manual exists. It's the jq wiki on github [1]. Lots of detailed information/recipes. [1]: https://github.com/stedolan/jq/wiki
comment by psacawa · 2021-08-02 · in Extracting Objects Recursively with Jq -
…I don't consider myself much of a jq power user, but I am a huge admirer of its capabilities. [0] https://github.com/stedolan/jq/wiki/Cookbook#convert-a-csv-f...
comment by darrenf · 2021-06-03 · in Show HN: Transform a CSV into a JSON and vice versa -
For whatever it's worth, on a somewhat-current Linux Mint, with the test from https://github.com/stedolan/jq/issues/1387 : System jq: $ jq --version jq-1.6 $ echo '{"number":288230376151711744}' | jq '.number' 288230376151711740 Fresh…
comment by tom_mellior · 2021-06-01 · in Jq is rounding 64-bit unsigned integers (2017) -
…is another response with a bit more details in it in a different (not closed) ticket from 2018: https://github.com/stedolan/jq/issues/1741#issuecomment-4306...
comment by x3ro · 2021-06-01 · in Jq is rounding 64-bit unsigned integers (2017) -
▲ 23
Jq is rounding 64-bit unsigned integers (2017)story by codetrotter · 2021-06-01 · 28 comments
-
▲ 2
Jq Internalsstory by todsacerdoti · 2021-05-06 · 0 comments
-
▲ 2
Command-Line JSON Processorstory by agmm · 2021-03-03 · 0 comments
-
…the structure of big JSON blobs, using the snippet written here (I alias it to "jq-structure"): https://github.com/stedolan/jq/issues/243#issuecomment-48470... For example, against the public AWS IP address JSON document, it produces an…
comment by rwiggins · 2020-11-06 · in Gron – Make JSON Greppable -
I love that this handles big numbers without modifying them unlike `jq` - https://github.com/stedolan/jq/issues/2182 $ echo "{\"a\": 13911860366432393}" | jq "." { "a": 13911860366432392 } $ echo "{\"a\": 13911860366432393}" | gron | gron…
comment by vhanda · 2020-11-06 · in Gron – Make JSON Greppable -
…because I find myself piping data to grep all the time to search for what I am looking for. [1] https://github.com/stedolan/jq
comment by malikNF · 2020-10-02 · in Ask HN: What are your favorite command-line applications? -
…are provided [0]. It happens all the time with anything systemd or networkmanager too [0]: https://github.com/stedolan/jq/releases/tag/jq-1.6
comment by inetknght · 2020-09-11 · in Everything you ever wanted to know about terminals (2018) -
…in this "mastering" series can explain how the jq model works in an approachable way. [1] https://github.com/stedolan/jq/blob/master/src/builtin.jq [2] http://stedolan.net/research/ [3] https://stedolan.github.io/jq/manual/#Advancedfeatures…
comment by re · 2020-07-01 · in Mastering Jq: Part 1 -
…that powerful builtins are what burn into user's minds, making a tool mentally indispensable. 1. https://github.com/stedolan/jq
comment by vintnes · 2020-05-20 · in The State of the AWK -
…pretty-print JSON struture. There is marvelous MIT-licensed tool "jq" just for that and ton more: https://github.com/stedolan/jq
comment by SergeAx · 2020-04-22 · in Stripe records user movements on its customers' websites -
FYI is the same Stephen Dolan from here: https://github.com/stedolan/jq
comment by svnpenn · 2020-02-18 · in MOV is Turing-complete (2013) [pdf] -
…CoW API for strings. Instead, I suspect that std::string was too weak a design for that. [1] https://github.com/stedolan/jq/wiki/C-API:-jv
comment by cryptonector · 2020-01-31 · in Libc++'s Implementation of std::string -
Have you considered jq? https://stedolan.github.io/jq/ https://github.com/stedolan/jq
comment by sshine · 2019-12-14 · in Glush: A robust parser compiler built using non-deterministic automatons -
…python, php, lua, ruby start getting used? They were pre-github, but jq really did start that way: https://github.com/stedolan/jq . The key to being used is a usage: a problem to apply it to. If there's a problem that people need solved,…
comment by hyperpallium · 2019-11-02 · in The Lx Programming Language -
unless I'm missing something, jq isn't[1] [1] https://github.com/stedolan/jq/tree/master/src
comment by shabble · 2019-10-26 · in An Illustrated Guide to Useful Command Line Tools -
Following https://github.com/stedolan/jq/issues/243 i commonly use https://github.com/joelpurra/har-dulcify/blob/master/src/uti... to explore unfamiliar json, ie: $ docker inspect 620f55df9177| structure.sh |grep -i addr…
comment by alinspired · 2019-06-24 · in Show HN: Catj – A new way to display JSON files -
…with the JSON you input. Sorry, without being able to reproduce the error, I can't help more. [1] https://github.com/stedolan/jq/releases
comment by jolmg · 2019-06-22 · in Show HN: Catj – A new way to display JSON files -
I much prefer jq[1]. Actively developed and written in C. [1]: https://github.com/stedolan/jq
comment by Apaec · 2019-06-22 · in Show HN: Catj – A new way to display JSON files -
https://github.com/stedolan/jq/issues/243 jq can also do the same thing, with more flexibility. And it is possible to combine with bash alias to make it indistinguishable from catj
comment by flying_sheep · 2019-06-21 · in Show HN: Catj – A new way to display JSON files -
…coming from *nix. Ideally all the WIN32-specific code in, e.g., jq[0], could be ripped out. [0] https://github.com/stedolan/jq (look in src/main.c)
comment by cryptonector · 2018-08-15 · in Introducing the Windows Pseudo Console (ConPty) -
…[1] I made. It relies on things like tab-expansion yielding the same results, so beware. [0]: https://github.com/stedolan/jq [1]: https://0x0.st/sj0G.txt (License: AGPLv3, credit to my handle)
comment by namibj · 2018-05-12 · in Asciinema – Record and share your terminal sessions -
…syntax highlighting https://github.com/dbcli/pgcli Written in C - jq: Command-line JSON processor https://github.com/stedolan/jq - tmux: a terminal multiplexer https://github.com/tmux/tmux - pspg: postgres pager (you can combine it with…
comment by zodiac · 2018-05-07 · in Ask HN: What are your favorite terminal programs? -
…syntax highlighting https://github.com/dbcli/pgcli Written in C - jq: Command-line JSON processor https://github.com/stedolan/jq - tmux: a terminal multiplexer https://github.com/tmux/tmux - pspg: postgres pager (you can combine it with…
comment by Dowwie · 2018-05-07 · in Ask HN: What are your favorite terminal programs? -
…curl-size https://github.com/egoist/curl-size - ripgrep https://github.com/BurntSushi/ripgrep - jq https://github.com/stedolan/jq - asciinema https://github.com/asciinema/asciinema
comment by kamranahmed_se · 2018-05-07 · in Ask HN: What are your favorite terminal programs? -
Sounds a lot like jq's jv API: https://github.com/stedolan/jq/wiki/C-API:-jv
comment by cryptonector · 2018-04-06 · in Immutable.rs: immutable data structures for Rust -
…mutating shared objects, so the API is very easy to use. For an example API I'm familiar with, see https://github.com/stedolan/jq/wiki/C-API:-jv
comment by cryptonector · 2018-04-06 · in Immutable.rs: immutable data structures for Rust -
…See the jq jv wiki[1]. Now, this is all C. But in Rust all of this would be even more powerful. [0] https://github.com/stedolan/jq/blob/master/src/jv.h [1] https://github.com/stedolan/jq/wiki/C-API:-jv
comment by cryptonector · 2018-04-06 · in Immutable.rs: immutable data structures for Rust -
…really use some examples. I hope this is as easy to use as, say, the jv functions in libjq [0]. [0] https://github.com/stedolan/jq/blob/master/src/jv.h
comment by cryptonector · 2018-04-06 · in Immutable.rs: immutable data structures for Rust -
This is perfect for jq[0]. [0] https://github.com/stedolan/jq
comment by cryptonector · 2018-03-06 · in LibBF – a small library to handle arbitrary precision floating point numbers -
…I don't know how to figure that out statically, but that might be a good avenue for research. [0] https://github.com/stedolan/jq/wiki/C-API:-jv
comment by cryptonector · 2018-02-23 · in Why writing a linked list in safe Rust is so damned hard -
…cli, jp ( https://github.com/jmespath/jp ), I see jl ( https://github.com/chrisdone/jl ) and jq ( https://github.com/stedolan/jq/ ) in the comments. I wonder if anyone has had experience with all three (or even just one) and can comment on…
comment by johnhenry · 2018-02-17 · in JMESPath – A query language for JSON -
…jq or another pretty-printer with key ordering, then use one of many existing line-by-line diff tools. [0]: github.com/stedolan/jq
comment by kornish · 2017-03-14 · in Son – A minimal subset of JSON for machine-to-machine communication -
…github repo led me to also find ag, an ack-grep replacement. Both are in my distro's repositories. https://github.com/stedolan/jq https://github.com/ggreer/the_silver_searcher "The command name is 33% shorter than ack!"
comment by a3n · 2016-12-02 · in Jq – Work with JSON on the command line -
▲ 1
Jq: Command-line JSON processorstory by mrb · 2016-10-05 · 0 comments
-
…been some work to make jq usable as a library, that seems like a good basis for JSON queries. https://github.com/stedolan/jq/wiki/C-API:-libjq
comment by NelsonMinar · 2015-09-22 · in JSONlite – A self-contained, serverless, zero-configuration, JSON document store