Skip to content

Instantly share code, notes, and snippets.

@servel333
Created July 6, 2016 15:15
Show Gist options
  • Save servel333/7f1d9882069ff4c13ac5eabd6e7d782d to your computer and use it in GitHub Desktop.
Save servel333/7f1d9882069ff4c13ac5eabd6e7d782d to your computer and use it in GitHub Desktop.
<code><pre>
{% set root_val = varilable_to_debug %}
root_val: {{ root_val }}
{{ root_val|length }}
{% for key, value in root_val %}
root_val.{{ key }} => {{ value }}
{% for key2, value2 in value %}
root_val.{{ key }}.{{ key2 }} :: {{ value2 }}
{% for key3, value3 in value2 %}
root_val.{{ key }}.{{ key2 }}.{{ key3 }} :: {{ value3 }}
{% for key4, value4 in value3 %}
root_val.{{ key }}.{{ key2 }}.{{ key3 }}.{{ key4 }} :: {{ value4 }}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
</pre></code>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment