title: Parse an existing JSON string in fluid template?
body: <p>I have a JSON string with some data I want to render in a template. As Fluid arrays are notated in JSON too, I thought I might just take that JSON string and hand it over to fluid, telling it to treat it just like some other array and use it in the template. </p>
  
  <p>Thus gaining a lot of speed and losing overhead (don't have to split the JSON data up to save it in the DB, can template it easily in fluid). </p>
  
  <p>It wouldn't work, at least not how I tried it.</p>
  
  <pre><code>&lt;f:alias map="{item.jsonData}"&gt;
    {fieldname}
  &lt;/f:alias&gt;
  </code></pre>
  
  <p>It - of course - complained it had received a string, not an array.</p>
  
  <p>Do I have to build a viewhelper and do <code>json_decode</code> before returning the array to fluid? Or is there a more native way?</p>
  
  <p>Here's the basic controller action:</p>
  
  <pre><code>/**
   * action show
   *
   * @param \NAMESPACE\Myext\Domain\Model\Item $item
   * @return void
   */
  public function showAction(\NAMESPACE\Myext\Domain\Model\Item $item) {
      $this-&gt;view-&gt;assign('item', $item);
  }
  </code></pre>