jd
« Back to VersTracker
Description:
JSON diff and patch
Type: Formula  |  Latest Version: 2.3.0@0  |  Tracked Since: Oct 10, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: json diff patch devops cli
Install: brew install jd
About:
jd is a command-line utility that compares two JSON files and outputs the differences in a concise, human-readable format. It can also generate a patch file that can be applied to transform one JSON structure into another. This tool is invaluable for developers and DevOps engineers who need to quickly identify changes in configuration files, API responses, or data exports.
Key Features:
  • Outputs differences in multiple formats (plain, colored, patch)
  • Supports JSON Lines (ndjson) for streaming data
  • Can generate and apply patch files
  • Preserves the original structure of the JSON in the output
Use Cases:
  • Debugging differences in API responses between environments
  • Versioning and auditing configuration files (e.g., Kubernetes manifests)
  • Comparing large database exports or data dumps
Alternatives:
  • jq – More powerful for general JSON manipulation, but requires more complex filter expressions for simple diffs
  • json-diff – Node.js-based alternative; jd is a standalone Go binary with no runtime dependencies
Version History
Detected Version Rev Change Commit
Oct 10, 2025 2:05pm 0 VERSION_BUMP cb34cfc5
Sep 12, 2025 3:51pm 0 VERSION_BUMP c4ebb75b
Sep 11, 2024 2:13am 0 VERSION_BUMP 70b2c482
Aug 19, 2024 4:36pm 0 VERSION_BUMP b5883a44
Aug 19, 2024 3:36pm 0 VERSION_BUMP 3510fd8e
Oct 1, 2023 6:53am 0 VERSION_BUMP 4060eec4