class
Stacker::Runtime::Filter::Json
- Stacker::Runtime::Filter::Json
- Reference
- Object
Overview
Dump an object to JSON, without character escaping.
{% set json = {"foo": "bar"} | json %}
The output is pretty printed, indented with 2 spaces unless another indent
width is given: {"foo": "bar"} | json renders as {, "foo": "bar", }
on three lines.