Output A JSON Object In A MiniJinja Template
[@ section|tojson(true) @]
or
[@ section|tojson(indent=2) @]
Note that this is what I use for Neopoligen. Regular MiniJinja would be:
{{ section|tojson(true) }}
or
{{ section|tojson(indent=2) }}
-- end of line --