2 ms·
Most templating engines can produce any format even if their directives are XML-like. Taking input from JSON is probably rarer because all of them are programm
by necovek 4y ago
Most templating engines can produce any format even if their directives are XML-like.
Taking input from JSON is probably rarer because all of them are programming language focused.
For CLI, you could combine it with things like jq (there was also something else that allowed using css selectors on JSON) and other tools like awk.
Or you could simply use PHP for a built in templating language (i.e. put <? ?> statements into whatever your file format is).