jq JSON Processor

Discussions center on jq, a command-line JSON processing tool likened to awk/sed for JSON, including recommendations, syntax critiques, usage tips, and alternatives like gron, miller, jello, and jiq.

📉 Falling 0.2x Open Source
3,203
Comments
17
Years Active
5
Top Authors
#8601
Topic ID

Activity Over Time

2009
3
2011
43
2012
46
2013
19
2014
71
2015
97
2016
154
2017
76
2018
153
2019
199
2020
436
2021
354
2022
467
2023
582
2024
284
2025
196
2026
23

Keywords

LLM CLI APL CSV WebAssembly data.csv XML HN POST JSON jq json syntax command awk python sed command line tool csv

Sample Comments

s_dev Apr 13, 2022 View on HN

You could give jq a go: https://stedolan.github.io/jq/

taylodl May 3, 2017 View on HN

What not just use jq? https://stedolan.github.io/jq/

divbzero Nov 6, 2020 View on HN

This is really cool. Gives you much of what jq does without having to remember jq syntax.

dastx Dec 23, 2019 View on HN

Jq allows you to fully transform a json structure. Batteries included. Similar to awk/sed etc you can even write your jq code in a separate file, and point jq to it.

JoshuaDavid May 8, 2020 View on HN

Learning how to effectively use jq, which is kind of like awk + sed for json.

agentultra Nov 19, 2018 View on HN

I love `jq`: https://stedolan.github.io/jq/

sshine Dec 14, 2019 View on HN

Have you considered jq?https://stedolan.github.io/jq/https://github.com/stedolan/jq

hedora Jun 3, 2023 View on HN

Can you name an alternative to jq with better syntax?

atmosx Jun 5, 2020 View on HN

Related tools for those working with JSON:- jo: convert shell ouput to JSON- jiq: interactive jq, useful when building complex jq queries

defrost Sep 24, 2023 View on HN

If JQ is too much, see GRON &| Millergron transforms JSON into discrete assignments to make it easier to grep for what you want https://github.com/tomnomnom/gronMiller is like awk, sed, cut, join, and sort for data formats such as CSV, TSV, JSON, JSON https://github.com/johnkerl/miller