<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：php中json_encode转数组为json字符串时的超奇怪问题。</title>
	<atom:link href="http://xiebiji.com/2008/12/json_encode/feed/" rel="self" type="application/rss+xml" />
	<link>http://xiebiji.com/2008/12/json_encode/</link>
	<description>Joe&#039;s Notebook</description>
	<lastBuildDate>Tue, 22 May 2012 05:47:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：joe</title>
		<link>http://xiebiji.com/2008/12/json_encode/#comment-1896</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Thu, 19 Feb 2009 10:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://xiebiji.com/?p=1078#comment-1896</guid>
		<description>:ohh: 恩</description>
		<content:encoded><![CDATA[<p> <img src='http://xiebiji.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> hh: 恩</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：apeng</title>
		<link>http://xiebiji.com/2008/12/json_encode/#comment-1895</link>
		<dc:creator>apeng</dc:creator>
		<pubDate>Thu, 19 Feb 2009 06:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://xiebiji.com/?p=1078#comment-1895</guid>
		<description>那是肯定的啦，很多语言像 js不支持二维数组，也不支持带非数组下标的数组，所以json格式涉及到非数字下标的数组通通会转化成对象，key=&gt;val 形式的。

PHP一般处理完输出这样的格式，一般都是给ajax访问，然后客户端接收到这样的信息，再用js的 decode（当然js没有自带的这样的函数，要自己写）函数解码出来。形成js的数组和对象。。。。。</description>
		<content:encoded><![CDATA[<p>那是肯定的啦，很多语言像 js不支持二维数组，也不支持带非数组下标的数组，所以json格式涉及到非数字下标的数组通通会转化成对象，key=&gt;val 形式的。</p>
<p>PHP一般处理完输出这样的格式，一般都是给ajax访问，然后客户端接收到这样的信息，再用js的 decode（当然js没有自带的这样的函数，要自己写）函数解码出来。形成js的数组和对象。。。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：joe</title>
		<link>http://xiebiji.com/2008/12/json_encode/#comment-1134</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Tue, 09 Dec 2008 13:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://xiebiji.com/?p=1078#comment-1134</guid>
		<description>:eek: 为什么这么说？</description>
		<content:encoded><![CDATA[<p> <img src='http://xiebiji.com/wp-includes/images/smilies/icon_surprised.gif' alt=':eek:' class='wp-smiley' />  为什么这么说？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：林晨</title>
		<link>http://xiebiji.com/2008/12/json_encode/#comment-1056</link>
		<dc:creator>林晨</dc:creator>
		<pubDate>Sun, 07 Dec 2008 12:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://xiebiji.com/?p=1078#comment-1056</guid>
		<description>路过，好专业的技术博客</description>
		<content:encoded><![CDATA[<p>路过，好专业的技术博客</p>
]]></content:encoded>
	</item>
</channel>
</rss>

