dhall-json

Compile Dhall configuration language to JSON and YAML

brewmacoslinux
Try with needOr install directly
Source

About

Dhall to JSON compiler and a Dhall to YAML compiler

Commands

dhall-to-jsondhall-to-yaml

Examples

Convert a Dhall file to JSON$ dhall-to-json <<< 'let x = 1 in { a = x, b = 2 }'
Convert a Dhall file to YAML$ dhall-to-yaml <<< '{name = "example", port = 8080}'
Convert Dhall file to JSON and save to file$ dhall-to-json < config.dhall > config.json