Serializing data to JSON
Templating to serialize data as JSON to be used in javascript on the page.
Example of outputting a variable that contains a list of items.
Example list ["First Item", "Second Item"]
Would output:
From External Context
If you are using an External Context in your template, you can serialize any filtered output to JSON.
Would output:
Last updated