title: How to assign a array of a value to param in Smarty?
body: <p>In my php code. </p>
  
  <pre><code>$version_config = array( 
      "list" =&gt; array(
          "123"
      ),
  ... other params
  )   
  $this-&gt;getView()-&gt;assign('version_config', $version_config);
  $this-&gt;getView()-&gt;assign('version_list', $version_config['list']);
  </code></pre>
  
  <p>In my tpl code,</p>
  
  <pre><code>{assign var="version_list2" value="{$version_config.list}"}
  </code></pre>
  
  <p><code>{$version_list2}</code> is a string values "Array" while <code>{$version_list2}</code> is an array. Do I need some more operations to encode <code>{$version_list2}</code> to an array?</p>