<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>json_decode &#8211; moneyslow.com</title>
	<atom:link href="https://moneyslow.com/tag/json_decode/feed" rel="self" type="application/rss+xml" />
	<link>https://moneyslow.com</link>
	<description>making money with technology</description>
	<lastBuildDate>Tue, 24 Nov 2015 09:17:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
	<item>
		<title>PHP: json_decode</title>
		<link>https://moneyslow.com/php-json_decode.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Tue, 24 Nov 2015 09:17:44 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[json_decode]]></category>
		<guid isPermaLink="false">http://blog.a8z8.com/?p=77</guid>

					<description><![CDATA[json_decode (PHP 5 &#62;= 5.2.0, PECL json &#62;= 1.2.0, PHP 7) json_decode — 对 JSON 格式的字符串进行编码 说明 mixed json_decode ( string $json [, bool $assoc = false [, int $depth = 512 [, int $options = 0 ]]] ) 接受一个 JSON 格式的字符串并且把它转换为 PHP 变量 参数 json 待解码的 json string 格式的字符串。 This function only works with [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>json_decode 转换json对象为数组需注意true 你加了吗？</title>
		<link>https://moneyslow.com/json_decode-%e8%bd%ac%e6%8d%a2json%e5%af%b9%e8%b1%a1%e4%b8%ba%e6%95%b0%e7%bb%84%e9%9c%80%e6%b3%a8%e6%84%8ftrue-%e4%bd%a0%e5%8a%a0%e4%ba%86%e5%90%97%ef%bc%9f.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Tue, 24 Nov 2015 08:54:38 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[json_decode]]></category>
		<guid isPermaLink="false">http://blog.a8z8.com/?p=70</guid>

					<description><![CDATA[代码如下 复制代码 $a['d'][]=1; $a['d'][]=2; echo $str=json_encode(array($a)); var_dump(json_decode($str)); 转换代码 代码如下 复制代码 array(1) { [0]=&#62; object(stdClass)#1 (1) { ["d"]=&#62; array(2) { [0]=&#62; int(1) [1]=&#62; int(2) } } } 看到了吧这是一个数组里面放置一个对象； 我们强制json_decode结果转换为数组吧——把第四行加上参数 代码如下 复制代码 var_dump(json_decode($str,true)); array(1) { [0]=&#62; array(1) { ["d"]=&#62; array(2) { [0]=&#62; int(1) [1]=&#62; int(2) } } }]]></description>
		
		
		
			</item>
	</channel>
</rss>
