<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: How to create JSON</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-create-json</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/how-to-create-json/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>sirshurf on How to create JSON</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12678</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12678</guid>
        	        	<description><![CDATA[<p>Sent you a PM, since this discussion is not for the forum.</p>
]]></description>
        	        	<pubDate>Wed, 02 Dec 2009 17:41:35 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to create JSON</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12677</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12677</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If you thinkl that you can make the docs better fell free to update it</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 02 Dec 2009 17:37:33 +0200</pubDate>
        </item>
        <item>
        	<title>sirshurf on How to create JSON</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12676</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12676</guid>
        	        	<description><![CDATA[<p>I have actually, many times...</p>
</p>
<p>Found it...</p>
</p>
<p>It looks like "rows" should be an array in order for this to work, not stdClass object...</p>
</p>
<p>That is not mentiond in the manual.</p>
</p>
<p>The explanation is for the usage of PHP json_encode function&#160;</p>
]]></description>
        	        	<pubDate>Wed, 02 Dec 2009 17:34:11 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to create JSON</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12675</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12675</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Before posting it is good idea to look at docs</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#json_data" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....#json_data</a></p>
]]></description>
        	        	<pubDate>Wed, 02 Dec 2009 17:29:32 +0200</pubDate>
        </item>
        <item>
        	<title>sirshurf on How to create JSON</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12674</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-create-json#p12674</guid>
        	        	<description><![CDATA[<p>Ok, I am getting nuts with simple things...</p>
</p>
<p>I have this code:</p>
</p>
<p><span>$responce= new stdClass();</span></p>
</p>
<p><span>$responce-&#62;page = "1";</span></p>
<p><span>$responce-&#62;total = "1";</span></p>
<p><span>$responce-&#62;records = "2";</span></p>
<p><span>$responce-&#62;rows = array();</span></p>
<p><span>$responce-&#62;rows[1][&#39;id&#39;] = "1";</span></p>
<p><span>$responce-&#62;rows[1][&#39;cell&#39;] = array ("1", "2", "3", "4", "5", "6", "7" );</span></p>
<p><span>//$responce-&#62;rows [2] [&#39;id&#39;] = "2";</span></p>
<p><span>//$responce-&#62;rows [2] [&#39;cell&#39;] = array ("1", "2", "3", "4", "5", "6", "7" );</span></p>
</p>
<p><span>echo json_encode ( $responce );</span></p>
</p>
<p>and it&#39;s not working for me...</p>
<p>the URL is:&#160;<a href="http://192.116.242.198:89/remihshuv/test.html" rel="nofollow" target="_blank">http://192.116.242.198:89/remihshuv/test.html</a></p></p>
]]></description>
        	        	<pubDate>Wed, 02 Dec 2009 17:24:43 +0200</pubDate>
        </item>
</channel>
</rss>