jd VS jq

Compare jd vs jq and see what are their differences.

jd

JSON diff and patch (by josephburnett)

jq

Command-line JSON processor [Moved to: https://github.com/jqlang/jq] (by stedolan)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
jd jq
3 306
752 25,063
- -
6.8 0.0
15 days ago 11 months ago
Go C
MIT License 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.

jd

Posts with mentions or reviews of jd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-21.
  • Any tool to "clean" helm chart values?
    2 projects | /r/devops | 21 May 2023
    I don't believe that you need any special tool - just show values in vanilla chart & compare it with your values; probably YQ and JD.
  • Automate JSON compare
    2 projects | /r/learnprogramming | 23 Feb 2023
    The second, which is more directly useful for you, is jd (JSON Diff). A "diff" in this context is a JSON of only the values that are different. This should provide a much nicer workflow for comparing them. Here's a similar question on StackOverflow with some implementation. Hope that helps!
  • How to detect messed up CloudFormation resources - part 2
    3 projects | dev.to | 10 May 2021
    Unfortunately, PowerShell does not come with any good tools to make diffs for JSON data, which would have been useful. There are a few other tools that may be of use in that regard, for example jd.

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.

What are some alternatives?

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

aws-tools-for-powershell - The AWS Tools for PowerShell lets developers and administrators manage their AWS services from the PowerShell scripting environment.

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

JayDiff - A JSON diff utility

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.

yq - yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor

gojq - Pure Go implementation of jq

json5 - JSON5 — JSON for Humans

jp - Validate and transform JSON with Bash

nushell - A new type of shell

Jolt - JSON to JSON transformation library written in Java.

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

jmespath.py - JMESPath is a query language for JSON.