title: Howto generate json with smarty?
body: <p>In Smarty, is there a standard function or an easy way to generate json from an array, as <code>json_encode()</code> does in php?</p>
  
  <p>I could not see it in Smarty documentation, wanted to ask here.</p>