Christmas Sale! Get 69% OFF for All Publii Themes Get the pack!

Christmas Sale 69% OFF! All Publii Themes

GitHub Download

{{jsonify}} helper

Helper for creating JSON-safe strings.

Syntax:

{{{jsonify string|object}}}

Example:

{{{jsonify tags}}}

Warning! Please remember to use three curly braces instead of two if you want to use it as a part of the JS configuration etc.

Subscribe

Get the latest Publii news, updates and more delivered directly to your email inbox

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at contact@tidycustoms.net. By clicking below, you agree that we may process your information in accordance with our Privacy Policy.