deserialize - Liquid Filter Reference - 1.1.0
Filter Name | deserialize |
Group | Collections |
Version | 1.1.0 |
Description
Deserializes a JSON string into an object.
Examples
{% assign json_string = '[{"id":1,"name":"Dog"},{"id":2,"name":"Cat"}]' %}
{{ json_string | deserialize | pluck: "name" | join: " & " }}
Dog & Cat
Back to Liquid Reference for 1.1.0
Back to Documentation