Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

treolabs/bolt3-twig-json-decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bolt CMS 3 - Twig json_decode filter

This extension boasts Bolt CMS 3 with an additional Twig filter to decode json data with json_decode function.

To use this extension, just add json_decode() as a filter next to any text-containing field with json data type.

Usage:

    {% set json = record.jsonfield|json_decode() %}
    {{ json.title }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages