jq
Command-line JSON processor like sed for JSON data
JSON & Data Processing
C
jq is a lightweight and flexible command-line JSON processor. It lets you slice, filter, map, and transform structured data.
Instalação
brew
brew install jq
apt
apt install jq
Demos
▶ GIF
jq '.' — pretty-print JSON with syntax highlighting
@agentgif
▶ GIF
sq — Data Wrangler for Databases
@agentgif
▶ GIF
JSON Data Pipeline — Part 1: Fetch and Transform with jq
@agentgif
▶ GIF
Log Analysis — Part 1: Extract Errors with rg and jq
@agentgif
▶ GIF
jq — jq vs fx vs jless
@agentgif
▶ GIF
jq '@csv' — convert JSON array to CSV output
@agentgif
▶ GIF
jq — Command-Line JSON Processor
@agentgif
▶ GIF
jq '.users[] | .name' — extract fields from arrays
@agentgif
Ferramentas Relacionadas
fx
Terminal JSON viewer with interactive exploration
jlessA command-line JSON viewer designed for reading, exploring,…
yqA portable command-line YAML, JSON, and XML processor
daselSelect, put, and delete data from JSON, TOML, YAML, XML, an…
xsvA fast CSV command-line toolkit written in Rust
csvlensCommand-line CSV viewer with vim-like controls
MillerLike awk, sed, cut, join, and sort for name-indexed data (C…
htmlqLike jq, but for HTML — uses CSS selectors to extract data