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