jql is a command-line tool for querying and processing JSON data. It uses its own compact query language to select values and structures from JSON input while returning JSON as output.
The tool supports selection by keys, indices and ranges together with operators for flattening structures, processing array elements and inspecting keys. It can work with files or standard input and includes support for streamed newline-delimited JSON.
This is free and open source software.
Key Features
- Query JSON data from the command line.
- Select object keys.
- Select multiple keys in arbitrary order.
- Select array elements by index.
- Select array and object ranges.
- Build arrays from multiple subqueries.
- Filter structures with lens selectors.
- Flatten nested arrays and objects.
- Return object keys and array indices.
- Process array elements in parallel with pipe operators.
- Pretty-print JSON output.
- Optional compact inline output.
- Read queries from files.
- Read JSON from standard input.
- Process newline-delimited JSON streams.
- Validate JSON data and return an appropriate exit status.
Website: github.com/yamafaktory/jql
Support:
Developer: Davy Duperron
License: Apache License 2.0 or MIT License
jql is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| JSON Tools | |
|---|---|
| jq | Lightweight and flexible JSON processor. It's like sed for JSON |
| fx | JSON viewer with streaming and mouse support |
| jaq | jq clone focused on correctness, speed, and simplicity. |
| gron | Transforms JSON into discrete assignments to make it easier to grep |
| gojq | Pure Go implementation of jq |
| jless | Command-line JSON viewer written in Rust |
| jnv | Navigates JSON offering a viewer and filter editor |
| JSON Editor | View, edit, format, and validate JSON |
| jid | JSON incremental digger by using filtering queries |
| jo | Small utility to create JSON objects |
| faq | Billed as a more flexible jq supporting additional formats |
| jello | Filter JSON and JSON Lines data with Python syntax |
| jq but an interoperable configuration format transcoder | |
| json-tui | JSON terminal UI |
| jiq | Interactive JSON query tool |
| emuto | Small language for manipulating and restructuring JSON and other data |
| svelte-jsoneditor | View, edit, format, transform, and validate JSON |
| qo | Query JSON, CSV, and TSV files using SQL |
| Janice | Desktop app for viewing large JSON files |
| unqery | Query and transform JSON data |
| Twig | Terminal JSON viewer and YAML viewer |
| jtc | Extract, manipulate and transform source JSON |
| pyfx | Python-native TUI JSON viewer |
| kirill | JSON validator |
| jshon | Parses, reads and creates JSON. It's designed to be as usable as possible |
| jsawk | Like awk, but for JSON |
| jqp | TUI playground to experiment with jq |
Read our verdict in the software roundup.
| Alternatives to jq | |
|---|---|
| fx | JavaScript Object Notation (JSON) viewer with streaming and mouse support |
| gojq | Pure Go implementation of jq |
| jello | Filter JSON and JSON Lines data with Python syntax |
| jless | Command-line JSON viewer written in Rust |
| emuto | Small language for manipulating and restructuring JSON and other data files |
| unqery | Query and transform JSON data |
| htmlq | Like jq but for HTML |
| faq | Billed as a more flexible jq supporting additional formats |
| jaq | jq clone focused on correctness, speed, and simplicity |
| Interoperable configuration format transcoder with jq query syntax | |
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.