Re:I accidentally used YAML.parse instead of JSON.parse and ...
by CameronNemo on Monday January 24, 2022 @12:37AM
(#30054068)
Expression languages like Nix, Jsonnet, Dhall, and Cue are really nice in these situations.
When configuration gets so complicated that the configuration starts to resemble structured data I tend to prefer to switch to a real scripting language and generate JSON instead.