Hacker News new | ask | show | jobs
by namelosw 2205 days ago
Sometimes I even wish they could embed a JavaScript interpreter... After all, YAML is almost equivalent to JSON, which the perfect templating language for JSON is -- JavaScript tbh.

Or people have to keep inventing half baked things.

3 comments

The problem isn't JSON or YAML: it's text templating serialization formats, instead of just marshalling/serializing them.
There is a tool called Pulumi that does exactly that, and it's excellent.
json is already valid yaml