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. ▲ 4
    Jq Language Description
    story by behnamoh · 2025-12-17 · 0 comments
  4. …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
  5. …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
  6. …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)
  7. 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.
  8. 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…
  9. ▲ 7
    Jq Release 1.8.0
    story by cbcoutinho · 2025-06-01 · 0 comments
  10. …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
  11. 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…
  12. …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
  13. …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
  14. 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
  15. …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
  16. 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
  17. …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…
  18. Looks like you are correct https://github.com/jqlang/jq/blob/ed8f7154f4e3e0a8b01e6778de...
    comment by mofosyne · 2024-05-05 · in Bytecode VMs in Surprising Places
  19. 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
  20. …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
  21. …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
  22. …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…
  23. It was fixed in 2019 though? I don't understand your point. https://github.com/jqlang/jq/issues/1380
  24. 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
  25. I think the original devs just got burnt out for a while https://github.com/jqlang/jq/issues/2305#issuecomment-157263...
  26. …next release where it follow the suggestion from the JSON spec and truncates to binary64 (double) https://github.com/jqlang/jq/pull/2949
  27. Yeap was fixed in 1.7 https://github.com/jqlang/jq/pull/2646
  28. 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.
  29. …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
  30. …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
  31. ▲ 2
    Jq Feature request: add function to turn bytes to human readable block sizes
    story by ekiauhce · 2023-10-19 · 0 comments
  32. …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
  33. ▲ 68
    jq 1.7
    story by jdnier · 2023-10-02 · 26 comments
  34. 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
  35. …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
  36. ▲ 434
    jq 1.7
    story by wwader · 2023-09-06 · 205 comments
  37. …¹ https://zsh.sourceforge.io/Doc/Release/User-Contributions.ht... ² https://github.com/jpmens/jo ³ https://github.com/stedolan/jq
  38. ▲ 1
    Jq 1.7rc1 is released
    story by ducktective · 2023-08-01 · 0 comments
  39. 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
  40. …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
  41. ▲ 114
    First release of jq in 5 years
    story by drewda · 2023-08-01 · 27 comments
  42. …hopefully be insightful and point out non-obvious things, like how jq is arguably abandonware. https://github.com/jqlang/jq/issues/2305
  43. …/ 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
  44. …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
  45. the obvious missing reference is jq https://github.com/stedolan/jq
  46. …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...
  47. …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
  48. …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
  49. …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)
  50. …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)