Hacker GitHub

← All repos

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

Mentions per year 104 mentions · busiest year 2023 (25)
20082026
  1. ▲ 124
    Jq Internals: Backtracking (2017)
    story by mshockwave · 2022-10-05 · 47 comments
  2. …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…
  3. …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)
  4. ▲ 5
    Jq 1.6 release removed from GitHub
    story by timdp · 2022-05-09 · 1 comment
  5. …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
  6. …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
  7. …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/...
  8. ▲ 13
    Jq Needs Contributors
    story by CyberRabbi · 2022-03-26 · 3 comments
  9. https://github.com/stedolan/jq can manipulate arrays of objects and format as CSV
  10. …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
  11. …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
  12. …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
  13. …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...
  14. 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)
  15. …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...
  16. ▲ 23
    Jq is rounding 64-bit unsigned integers (2017)
    story by codetrotter · 2021-06-01 · 28 comments
  17. ▲ 2
    Jq Internals
    story by todsacerdoti · 2021-05-06 · 0 comments
  18. ▲ 2
    Command-Line JSON Processor
    story by agmm · 2021-03-03 · 0 comments
  19. …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
  20. 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
  21. …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
  22. …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
  23. …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
  24. …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
  25. …pretty-print JSON struture. There is marvelous MIT-licensed tool "jq" just for that and ton more: https://github.com/stedolan/jq
  26. 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]
  27. …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
  28. Have you considered jq? https://stedolan.github.io/jq/ https://github.com/stedolan/jq
  29. …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
  30. unless I'm missing something, jq isn't[1] [1] https://github.com/stedolan/jq/tree/master/src
  31. 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…
  32. …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
  33. I much prefer jq[1]. Actively developed and written in C. [1]: https://github.com/stedolan/jq
  34. 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
  35. …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)
  36. …[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)
  37. …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…
  38. …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…
  39. …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?
  40. 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
  41. …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
  42. …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
  43. …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
  44. This is perfect for jq[0]. [0] https://github.com/stedolan/jq
  45. …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
  46. …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
  47. …jq or another pretty-printer with key ordering, then use one of many existing line-by-line diff tools. [0]: github.com/stedolan/jq
  48. …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!"
  49. ▲ 1
    Jq: Command-line JSON processor
    story by mrb · 2016-10-05 · 0 comments
  50. …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