dhall-json
« Back to VersTracker
Description:
Dhall to JSON compiler and a Dhall to YAML compiler
Type: Formula  |  Latest Version: 1.7.12@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: configuration dhall json yaml developer-tools compiler
Install: brew install dhall-json
About:
dhall-json provides command-line tools to convert Dhall configuration files into standard JSON or YAML formats. It serves as a critical bridge for projects that prefer Dhall's type-safety and programmability for authoring configs but require standard formats for runtime consumption.
Key Features:
  • Compiles type-safe Dhall configurations to JSON or YAML
  • Preserves Dhall features like imports, functions, and types
  • Provides `dhall-to-json` and `dhall-to-yaml` CLI utilities
  • Ensures configuration validity before deployment
Use Cases:
  • Generating Kubernetes manifests from typed Dhall sources
  • Creating validated JSON configuration files for applications
  • Automating build pipelines with type-safe configuration generation
Alternatives:
  • jsonnet – Jsonnet is a data templating language that outputs JSON directly, whereas Dhall offers a distinct language with a strong type system and formal semantics.
  • yq – yq is used for manipulating existing YAML/JSON files, while dhall-json is for generating them from a separate, typed language source.
License: BSD-3-Clause
Dependencies: gmp
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 15, 2025 6:57am 0 VERSION_BUMP 9cf41904
Sep 12, 2025 12:53am 0 VERSION_BUMP 4857bab8
Jan 5, 2025 3:56pm 0 VERSION_BUMP 930ccef4
Sep 12, 2024 5:20pm 0 VERSION_BUMP 21f9e2e7