Training
Bootcamp
Courses
Tech Sessions
Resources
Blog
Tips
GitHub
YouTube
Newsletter
Playgrounds
Pricing
Sign In
Become Member
Jinja2 Renderer
Validate and test the rendering of your Jinja templates
Tools
J2 Renderer
TTP Parser
TextFSM Parser
XPath Tester
Members Only
JMESPath Validator
JSON Schema Validator
Data Format Converter
Help Us Improve
Jinja Template
{% if data.BuiltinTag.edges and data.BuiltinTag.edges is iterable %} {% for tag in data["BuiltinTag"]["edges"] %} {% set tag_name = tag.node.name.value %} {% set tag_description = tag.node.description.value %} {{ tag_name }} description: {{ tag_description }} {% endfor %} {% endif %}
Jinja Data
{ "data": { "BuiltinTag": { "edges": [ { "node": { "name": { "value": "blue" }, "description": { "value": "The blue tag" } } }, { "node": { "name": { "value": "green" }, "description": { "value": "The green tag" } } }, { "node": { "name": { "value": "red" }, "description": { "value": "The red tag" } } } ] } } }
Result
blue description: The blue tag green description: The green tag red description: The red tag
Show whitespace
Trim blocks
Lstrip blocks
Render
Share
Auto-Sync