The json
test checks if a variable is valid json string?
twig
{% if '{"test": 1}' is json %}
...
{% endif %}
🚀 New! Kestra raises $3 million to grow Learn more
The json
test checks if a variable is valid json string?
{% if '{"test": 1}' is json %}
...
{% endif %}