jd VS yq

Compare jd vs yq and see what are their differences.

jd

JSON diff and patch (by josephburnett)

yq

yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor (by mikefarah)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
jd yq
3 66
752 10,802
- -
6.8 9.2
15 days ago 9 days ago
Go Go
MIT License MIT License
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.

yq

Posts with mentions or reviews of yq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-25.

What are some alternatives?

When comparing jd and yq 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

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

JayDiff - A JSON diff utility

yaml.nvim - 🍒 YAML toolkit for Neovim users

csvq - SQL-like query language for csv

oq - A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.

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.

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.

gojq - Pure Go implementation of jq