json
A value as JSON.
<, > and & are escaped (\u003c…), so the output is safe inside <script> tags.
Syntax
Section titled “Syntax”value | jsonReturns
Section titled “Returns”string
Example
Section titled “Example”{{ product.tags | json }}["linen","new","summer"]Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

