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. …slow to start. Version 1.6 was especially abysmally slow to start, 10x times slower than 1.5: https://github.com/jqlang/jq/issues/1826 So any replacement candidate should also benchmark like hyperfine "jq .a <<< '{"a": 10 }'" . This…
    comment by Self-Perfection · 2026-03-29 · in A Faster Alternative to Jq
  2. …to look at jq's VM implementation some time, it's kind of mind-blowing how it works under the hood: https://github.com/jqlang/jq/blob/master/src/execute.c It does some kind of stack forking which is what allows its funky syntax
    comment by bouk · 2026-03-27 · in A Faster Alternative to Jq
  3. …type directly. Speaking of overhead, though, it turns out that the implementation of walk/1 ( https://github.com/jqlang/jq/blob/master/src/builtin.jq#L212 ) will actually run the filter on every element of an array , even though we're…
    comment by naniwaduni · 2025-07-21 · in Jqfmt like gofmt, but for jq
  4. …plug the one-liner I use all the time, which summarizes the "structure" of a doc in a jq-able way: https://github.com/stedolan/jq/issues/243#issuecomment-48470... (I didn't write it, I'm just a happy user) For example: $ curl -s…
    comment by rwiggins · 2025-07-21 · in Jqfmt like gofmt, but for jq
  5. …approach some time. [0] https://github.com/Maxdamantus/jq/blob/911d01aaa5bd33137fadf... [1] https://github.com/jqlang/jq/pull/2314 [2] I think I used the name "WTF-8b" as an allusion to UTF-8b/surrogateescape/PEP-383 which also encodes…
    comment by maxdamantus · 2025-07-07 · in Corrected UTF-8 (2022)
  6. The XSL:T equivalent for JSON is jq https://github.com/jqlang/jq Learn it. It is insanely useful for mungling json in day to day work.
  7. Hi HN, we ran jq (github.com/jqlang/jq) through our static analysis tool. It's a fantastic, mature project (13 yrs, 230+ authors, Grade A avg. complexity). However, we found some serious concerns: multiple potential buffer overflows (Red…
  8. …execution on the MCP server. What could possibly go wrong? Maybe this CVE-2025-48060 [0] [1]? [0] https://github.com/jqlang/jq/issues/3327 [1] https://nvd.nist.gov/vuln/detail/CVE-2025-48060
    comment by rvz · 2025-05-30 · in Show HN: MCP Server SDK in Bash
  9. I hope you enjoy it! I sure did. If you enjoy it, you might also enjoy jq ( https://github.com/jqlang/jq ), which is also a sort of logic programming language (in that it has pervasive generators and backtracking). Icon has an Algol family…
  10. …etc) I think the answer here is the shell, fswatch, and jq. https://github.com/emcrisostomo/fswatch https://github.com/jqlang/jq http://man.openbsd.org/sh
  11. …local modification "-dirty" is appended to it. and one can see their invocation of --dirty here: https://github.com/jqlang/jq/blob/cff5336ec71b6fee396a95bb0e...
    comment by mdaniel · 2024-09-17 · in macOS Sequoia is available today
  12. I can't know what "-dirty" implies, but https://github.com/jqlang/jq/commit/cff5336 is a pretty random commit from 2022 :-( https://github.com/apple-oss-distributions/distribution-macO... hasn't been updated with a "jq" directory yet
    comment by mdaniel · 2024-09-17 · in macOS Sequoia is available today
  13. …result if your doing common things. The bugs i've encountered have usually been in exotic parts, ex https://github.com/jqlang/jq/issues/3128
    comment by wwader · 2024-07-07 · in Jqjq: Jq Implementation of Jq
  14. Hey, it was discussed a bit some years ago https://github.com/jqlang/jq/issues/1892
    comment by wwader · 2024-06-11 · in The simdjson library
  15. …an explanation of this feature here: https://subtxt.in/library-data/2016/03/28/json_stream_jq And: https://github.com/jqlang/jq/wiki/FAQ#streaming-json-parser The last time I tried, I think the reason I gave up on JQ for large inputs was…
  16. Looks like you are correct https://github.com/jqlang/jq/blob/ed8f7154f4e3e0a8b01e6778de...
    comment by mofosyne · 2024-05-05 · in Bytecode VMs in Surprising Places
  17. If I remember correctly, jq ( https://github.com/jqlang/jq ) also uses a bytecode interpreter under the hood
    comment by cosmic_quanta · 2024-04-30 · in Bytecode VMs in Surprising Places
  18. …recently by a new team of maintainers and is rapidly working through a lot of longstanding issues ( https://github.com/jqlang/jq ), so I'm not sure if this is still the case
    comment by pcthrowaway · 2024-03-22 · in DuckDB as the New jq
  19. …and allow the community to keep taking care of it. Just like it happened with the Jq tool [1]. [1]: https://github.com/jqlang/jq/releases/tag/jq-1.7
  20. …syntax which needs them to match I also want to draw the reader's attention to the magic of |@uri < https://github.com/jqlang/jq/blob/jq-1.7/docs/content/manual... > for a bunch of cases, but doubly so in TFA's case where they're plugging…
  21. It was fixed in 2019 though? I don't understand your point. https://github.com/jqlang/jq/issues/1380
  22. The fact that jq takes almost a second to run on a Pi is crazy[0]. And the tool is written in C. [0] https://github.com/jqlang/jq/issues/1411
  23. I think the original devs just got burnt out for a while https://github.com/jqlang/jq/issues/2305#issuecomment-157263...
  24. …next release where it follow the suggestion from the JSON spec and truncates to binary64 (double) https://github.com/jqlang/jq/pull/2949
  25. Yeap was fixed in 1.7 https://github.com/jqlang/jq/pull/2646
  26. I believe this has improved in jq 1.7: https://github.com/jqlang/jq/releases/tag/jq-1.7 > Use decimal number literals to preserve precision. Comparison operations respects precision but arithmetic operations might truncate.
  27. …got transferred from the original author to a new organization, which allowed to resume operations: https://github.com/jqlang/jq/releases/tag/jq-1.7
    comment by j1elo · 2023-11-28 · in Antirez' tiny JSON selector library
  28. …with Agent/Function type use cases or some pydantic-ish guardrails. Thanks for the Bookmark ! https://github.com/jqlang/jq/releases/tag/jq-1.7
    comment by jimmySixDOF · 2023-11-08 · in Interactive examples for learning jq
  29. …who have brought a great deal of energy to make a long-awaited and long-needed new release. https://github.com/jqlang/jq/issues/2802 and the 1.7 release Announcement: It's been almost five years since the release of jq 1.6. Recently we…
    comment by defrost · 2023-10-02 · in jq 1.7
  30. Nothing planned but there has been some talks about it. https://github.com/jqlang/jq/issues/2855 is probably the lastest issue mentioning it
    comment by wwader · 2023-09-07 · in jq 1.7
  31. …me as it didn't feel obvious from the grammar. [1] https://github.com/Engelberg/instaparse [2] https://github.com/jqlang/jq/wiki/jq-Language-Description#:~... .
    comment by d_t_w · 2023-09-07 · in jq 1.7
  32. …¹ https://zsh.sourceforge.io/Doc/Release/User-Contributions.ht... ² https://github.com/jpmens/jo ³ https://github.com/stedolan/jq
  33. Hey, pick is implemented in jq here https://github.com/jqlang/jq/blob/master/src/builtin.jq#L258... using various path functions. When the jq manual say "path expression" like the argument to pick you can think of it as just normal jq…
    comment by wwader · 2023-08-01 · in First release of jq in 5 years
  34. …guiding why and when they might decide to add specialized interpretations of pathexps. [1]: https://github.com/jqlang/jq/pull/2656#issuecomment-16228220...
    comment by mpalmer · 2023-08-01 · in First release of jq in 5 years
  35. …hopefully be insightful and point out non-obvious things, like how jq is arguably abandonware. https://github.com/jqlang/jq/issues/2305
  36. …/ WSL. The '--binary' option to not convert line delimiters is one of those pending improvements. https://github.com/stedolan/jq/commit/0dab2b18d73e561f511801...
    comment by Calzifer · 2023-05-26 · in JJ: JSON Stream Editor
  37. …and bug fixes [3]. Maybe someone reading this is able and willing to join their efforts. [1]: https://github.com/stedolan/jq/issues/2305 [2]: https://github.com/stedolan/jq/pull/1697 [3]: https://github.com/stedolan/jq/issues/2550
    comment by j1elo · 2023-05-26 · in JJ: JSON Stream Editor
  38. the obvious missing reference is jq https://github.com/stedolan/jq
  39. …for parsing CSVs into arrays of objects (and keeping numbers as numbers, dealing with nulls, etc) https://github.com/stedolan/jq/wiki/Cookbook#convert-a-csv-f...
  40. …model, at least for data processing. See 'Generators and iterators' section of the man page: https://github.com/stedolan/jq/blob/cff5336ec71b6fee396a95bb... * Designed for CLI, it makes it easy and even pushes you to express your program…
    comment by odnoletkov · 2022-12-13 · in Solving Advent of Code with jq
  41. …turing complete for a long while. Here is the first prototype in haskell before it was convert to C https://github.com/stedolan/jq/commit/eca89acee00faf6e9ef55d... , it's very basic but i would guess it has enough things to be turing…
    comment by wwader · 2022-11-26 · in Jqjq: Jq Implementation of Jq
  42. …into. Everyone should make sure their project's release process can promptly release updates! [1] https://github.com/stedolan/jq/issues/1110
    comment by AgentME · 2022-10-05 · in Jq Internals: Backtracking (2017)
  43. …last release is 4 years ago? the tool is so popular that this kind of release cadence seems weird https://github.com/stedolan/jq/releases/tag/jq-1.6
    comment by mi_lk · 2022-10-05 · in Jq Internals: Backtracking (2017)
  44. …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…
  45. …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)
  46. …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
  47. …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
  48. …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/...
  49. https://github.com/stedolan/jq can manipulate arrays of objects and format as CSV
  50. …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