title: How to set multi-dimensional array in Twig?
body: <p>I'm working on Twig for templating in my Symfony2 project. I need to define a 2 dimensional array. I tried like</p>
  
  <pre><code>{% set fields = { {'name': 'description', 'value':  '1'}, { 'name': 'abc', 'value': '2'}, { 'name':'tags', 'value': '3'} } %}
  </code></pre>
  
  <p>But I'm getting</p>
  
  <pre><code>A hash key must be a quoted string, a number, a name, or an expression enclosed in parentheses (unexpected token "punctuation" of value "{" in ABundle:XYZ:edit_a_page.html.twig at line 51  
  </code></pre>
  
  <p>Not sure what is wrong with the above code.</p>
  
  <p>What is the right syntax to set a 2 dimensional array in twig?</p>