DataJet
Search…
parse
parse filter will convert a string into JSON object.

Example

1
{% capture order %}
2
{
3
"id": "531341221233",
4
"name": "RF412",
5
"customer": {
6
"first_name": "Adam",
7
"last_name": "Smith"
8
}
9
}
10
{% endcapture $}
11
12
{% assign order = order | parse %}
13
14
{{ "Order name is" | append: order["name"] | log }}
Copied!
Last modified 1yr ago
Copy link
Contents