j
Install via:brew
License:MIT
Open source

jq

About

A lightweight command-line JSON processor. Filter, transform, map and pretty-print JSON with a concise and powerful query language.

Pricing

Free

jq is a JSON processor for the shell. It lets you slice, filter, map and transform JSON data with a compact functional language — essential for working with modern APIs.

Key Features

  • Query language for selecting and transforming data.
  • Pretty-printing and sorting.
  • Array and object construction.
  • String, math and date functions.
  • Built-in regex support.
  • Composable with pipes in scripts.

Pricing

jq is free and open source under the MIT license.

Getting Started

brew install jq
curl -s https://api.github.com/repos/jqlang/jq | jq '.stargazers_count, .license.spdx_id'
echo '{"a":1,"b":2}' | jq '.a + .b'

Run jq --help for a crash course.

Install

Copy and run one of these commands locally to install jq.

brew install jq

Comments (0)

Share your thoughts about this entry... Sign in to comment
No comments yet — start the conversation.