<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 25 May 2013 00:47:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gaetano Giunta's Blog: A completely fair and balanced comparison of php json libraries]]></title>
      <guid>http://www.phpdeveloper.org/news/6979</guid>
      <link>http://www.phpdeveloper.org/news/6979</link>
      <description><![CDATA[<p>
The Zend Developer Zone <a href="http://devzone.zend.com/node/view/id/1409">points out</a> a post from <i>Gaetano Giunta</i> that <a href="http://gggeek.altervista.org/sw/article_20061113.html">compares several JSON libraries</a> that can be used with PHP.
</p>
<blockquote>
The recent release of php 5.2.0, which includes by default an extension for converting php values from and to the JSON format, is a good occasion for comparing the different existing php libraries which aim to provide the same capabilities.
</blockquote>
<p>
Included in his "completely fair and balanced comparison" of the libraries were four choices:
<ul>
<li><a href="http://pecl.php.net/package/json">The lib</a> (now part of PHP)
<li><a href="http://pear.php.net/pepr/pepr-proposal-show.php?id=198">The JSON lib</a>
<li><a href="http://framework.zend.com/manual/en/zend.json.html">The Zend_Json lib</a>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=34455&package_id=188337">The Jsonrpc (and Json) extension</a>
</ul>
He's created a feature matrix for the four options that includes things like encoding support, failed decoding vs NULL value, and extra features that might be included.
</p>
<p>
There's <a href="http://gggeek.altervista.org/sw/article_20061113.html">loads of other stats</a> presented as well, including bar charts for the speed comparison, code examples, and encoding/decoding test results.
</p>]]></description>
      <pubDate>Wed, 27 Dec 2006 16:29:00 -0600</pubDate>
    </item>
  </channel>
</rss>
