<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'JSON Zend framework'</title>
    <description>Snipplr comments feed</description>
    <link>https://ipv6.snipplr.com/</link>
    <lastBuildDate>Wed, 22 Apr 2026 19:20:57 +0000</lastBuildDate>
    <item>
      <title>postNuKe said on 08/Jun/2011</title>
      <link>https://ipv6.snipplr.com/view/53689/json-zend-framework</link>
      <description>&lt;p&gt;I think if you have a AjaxController by example, in the init() you can write this:&#13;
$this-&gt;_helper-&gt;AjaxContext()-&gt;addActionContext('ajax-handler', 'json')-&gt;initContext('json');&#13;
&#13;
Now all data transmitted to the view will be converted into JSON format. This method is preferable to manually turn off the view and convert data to JSON.&lt;/p&gt;</description>
      <pubDate>Wed, 08 Jun 2011 11:02:02 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/53689/json-zend-framework</guid>
    </item>
    <item>
      <title>postNuKe said on 08/Jun/2011</title>
      <link>https://ipv6.snipplr.com/view/53689/json-zend-framework</link>
      <description>&lt;p&gt;&lt;p&gt;I think if you have a AjaxController by example, in the init() you can write this: &lt;/p&gt;&#13;
&#13;
&lt;p&gt;&lt;code&gt;&#13;
$this-&gt;_helper-&gt;AjaxContext()-&gt;addActionContext('ajax-handler', 'json')-&gt;initContext('json');&#13;
&lt;/code&gt;&lt;/p&gt;&#13;
&#13;
&lt;p&gt;Now all data transmitted to the view will be converted into JSON format. This method is preferable to manually turn off the view and convert data to JSON.&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 08 Jun 2011 11:07:22 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/53689/json-zend-framework</guid>
    </item>
  </channel>
</rss>
