jq VS jp

Compare jq vs jp and see what are their differences.

jq

Command-line JSON processor [Moved to: https://github.com/jqlang/jq] (by stedolan)

jp

Validate and transform JSON with Bash (by dnmfarrell)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
jq jp
306 6
25,063 73
- -
0.0 0.0
over 1 year ago about 2 years ago
C Shell
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jq

Posts with mentions or reviews of jq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-21.

jp

Posts with mentions or reviews of jp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-31.
  • Using 'jq' to extract an IP from a JSON. Need help
    2 projects | /r/bash | 31 Dec 2021
    Several jq solutions here already, here's how you could do this in jp (pure Bash).
  • Bash Function Names Can Be Almost Anything
    1 project | /r/linux | 23 Jun 2021
    Seriously though, the article leads to the author's jp bash script which allows processing of JSON. It could be useful - but why it exists when jq is available, I don't know. Nonetheless, it looks like an impressive acheivment.
  • Guidance in building a .json config file with bash script.
    3 projects | /r/bash | 31 May 2021
    color='foobar';cat tests/share/package.json | jp '{"color":"'"$color"'"}' jp.++ { "color": "foobar", "name": "jp", "version": "0.0.1", "description": "A JSON processor written in Bash", "homepage": "http://github.com/dnmfarrell/jp", "repository": { "type": "git", "url": "https://github.com/dnmfarrell/jp.git" }, "bin": { "jp": "./jp" }, "dependencies": {}, "devDependencies": {}, "author": "David Farrell" }
  • jp - a real json processor in bash
    3 projects | /r/bash | 28 May 2021
    However there was a flaw in how jp parsed large input: it repeatedly copied the input string which, for large inputs made it very slow. Maybe that's what you ran into? That is fixed now. jp can parse the 128kb of json in tests/share/ec2-describe-instances.json for example.

What are some alternatives?

When comparing jq and jp you can also consider the following projects:

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

jq - Command-line JSON processor

dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

Scout - Surveillance Detection Scout: Your Lookout on Autopilot

gojq - Pure Go implementation of jq

Gogh - Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal also compatible with iTerm on macOS.

json5 - JSON5 — JSON for Humans

scout - Reading and writing in JSON, Plist, YAML and XML data made simple when the data format is not known at build time. Swift library and command-line tool.

miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

dumb-sync - A microframework for syncing and transforming files

nushell - A new type of shell

dayone-json-to-obsidian - Update Obsidian vault from Day One (“DayOne”) JSON using command line scripts.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you konow that C is
the 6th most popular programming language
based on number of metions?