DataJet
Search…
Welcome to DataJet
Tasks
Introduction
Blank
OOTB
Creating a custom task
Hooks
Introduction
Liquid
Introduction
Tags
json
skip
global
Filters
Misc
Functions
Variables
Examples
Processing user submitted forms
Create orders from csv file
Custom shipping rates
Create simple order report
Send order data to Zapier
Powered By
GitBook
json
Works almost like
capture
. The difference is that it will convert captured string into a json. It means that after capturing json variable you can use its properties straightaway like so:
1
{
%
json dummy
%}
2
{
3
"foo": "bar"
4
}
5
{
%
endjson
%}
6
7
{{ dummy.foo | log }
}
Copied!
Above code would log
bar
to the logs section.
Liquid - Previous
Tags
Next
skip
Last modified
1yr ago
Copy link