json - Liquid Filter Reference - 1.0.0
| Filter Name | json | 
| Group | Collections | 
| Version | 1.0.0 | 
Description
Converts the collection to JSON.
Examples
{{ pets | json }}
[{"id":1,"name":"Dog"},{"id":2,"name":"Cat"}]
Back to Liquid Reference for 1.0.0
Back to Documentation