2 ms·
I wish more people who for some reason are otherwise forces to use a textual templating system to output would remember that every json object is a valid yaml v
by ithkuil 6y ago
I wish more people who for some reason are otherwise forces to use a textual templating system to output would remember that every json object is a valid yaml value, so instead of fiddling with indent you just ".toJson" or "| json" or whatever is your syntax and it pull get something less brittle.
(Or use a structural templating system like jsonnet or ytt)