jqlang/jq

Cjqlang.org
Windows

Command-line JSON processor

jq
스타 성장
스타
35.6k
포크
1.8k
주간 성장
+37
이슈
356
10k20k30k
2022년 10월2024년 1월2025년 5월2026년 9월
README

jq

jq is a lightweight and flexible command-line JSON processor akin to sed,awk,grep, and friends for JSON data. It's written in portable C and has zero runtime dependencies, allowing you to easily slice, filter, map, and transform structured data.

Documentation

Installation

Prebuilt Binaries

Download the latest releases from the GitHub release page.

Docker Image

Pull the jq image to start quickly with Docker.

Run with Docker

Example: Extracting the version from a package.json file
docker run --rm -i ghcr.io/jqlang/jq:latest < package.json '.version'
Example: Extracting the version from a package.json file with a mounted volume
docker run --rm -i -v "$PWD:$PWD" -w "$PWD" ghcr.io/jqlang/jq:latest '.version' package.json

Building from source

Dependencies

  • libtool
  • make
  • automake
  • autoconf

Instructions

git submodule update --init    # if building from git to get oniguruma
autoreconf -i                  # if building from git
./configure --with-oniguruma=builtin
make clean                     # if upgrading from a version previously built from source
make -j8
make check
sudo make install

Build a statically linked version:

make LDFLAGS=-all-static

If you're not using the latest git version but instead building a released tarball (available on the release page), skip the autoreconf step, and flex or bison won't be needed.

Cross-Compilation

For details on cross-compilation, check out the GitHub Actions file and the cross-compilation wiki page.

Community & Support

License

jq is released under the MIT License. jq's documentation is licensed under the Creative Commons CC BY 3.0. jq uses parts of the open source C library "decNumber", which is distributed under ICU License

관련 저장소
wader/fq

fq - jq for binary formats. Tool, language and decoders for working with binary formats.

GoGo ModulescliOtherjqbinary
wader.github.io/fq/
10.6k253
bitfield/script

Making it easy to write shell-like scripts in Go

GoGo ModuleslibraryMIT Licenseshellcat
bitfieldconsulting.com/subscribe
7k369
ynqa/jnv

Interactive JSON filter using jq

Rustcrates.iocliMIT Licenseautocompletecli
6.1k76
jeroenjanssens/data-science-at-the-command-line

Data Science at the Command Line

HTMLtutorialOtherdata-sciencelinux
datascienceatthecommandline.com
4k765
01mf02/jaq

A jq clone focussed on correctness, speed, and simplicity

Rustcrates.iocliMIT Licensejqjson
3.7k120
kislyuk/yq

Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents

PythonPyPIcliApache License 2.0yamljq
kislyuk.github.io/yq/
3k85
noahgorstein/jqp

A TUI playground to experiment with jq

GoGo ModulescliMIT Licensegojq
2.8k54
wellsjo/JSON-Splora

GUI app for editing, visualizing, and manipulating JSON data

JavaScriptnpmappMIT Licensejsonjson-splora
1.9k60
yshavit/mdq

like jq but for Markdown: find specific elements in a md doc

Rustcrates.iocliApache License 2.0jqmarkdown
1.7k20
Benexl/yt-x

Posix script to browse youtube plus other yt-dlp supported sites from your terminal (fzf) or app launcher (rofi) with optional previews. (supports bash, zsh and dash)

ShellcliMIT Licenseclijq
1.7k77
swoodford/aws

A collection of bash shell scripts for automating various tasks with Amazon Web Services using the AWS CLI and jq.

ShellcliApache License 2.0awsawscli
1.4k653
harehare/mq

A jq-like Markdown query language for command-line processing

Rustcrates.iocliMIT Licenseclijq
mqlang.org
1k22