DataJet
Search
⌃K
Welcome to DataJet
Tasks
Introduction
Tasks
Creating custom task
OOTB (deprecated)
Liquid
Introduction
Tags
Filters
array_equal
base64_decode
base64_encode
concat
content
email
encode_uri
file
flat
flow
ftp
graphql
http
in_groups_of
in_timezone
log
parse
parse_csv
parse_xml
push
random
rest
run
sha1
sum
time_subtract
time_add
Misc
Credits and usage
Variables
Examples
Flow integration
Processing user submitted forms
Create orders from csv file
Create simple order report
Powered By GitBook

flat

Flattens an array.
{% json nested_array %}
[[1,2], [3,4]]
{% endjson %}
​
{% assign ar = nested_array | flat %}
​
{{ar | log }}
Above snippet logs [1,2,3,4].
Previous
content
Next
flow
Last modified 1mo ago
Copy link