<?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>Mon, 20 May 2013 15:00:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[IBM developerWorks: Convert XML to JSON in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7124</guid>
      <link>http://www.phpdeveloper.org/news/7124</link>
      <description><![CDATA[<p>
In <a href="http://devzone.zend.com/node/view/id/1591">this new post</a> on the Zend Developer Zone today, <i>Cal Evans</i> shares a link to an <a href="http://www-128.ibm.com/developerworks/xml/library/x-xml2jsonphp/">interesting article</a> over on the IBM developerWorks website. It deals with converting XML to JSON using PHP.
</p>
<blockquote>
With the growing popularity of Web 2.0, a new data interchange format called JavaScript Object Notation (JSON) is emerging as a useful way to represent data in the business logic running on browsers. Learn how PHP-based server programs can convert XML-formatted enterprise application data into JSON format before sending it to browser applications.
</blockquote>
<p>
<a href="http://www-128.ibm.com/developerworks/xml/library/x-xml2jsonphp/">The article</a> starts with the basics, XML and JSON, then moves quickly on to other topics like "browser-side data processing" and "xml-to-json conversion". From there, it's all about the code - creating the xml2json script to make the transition simple. It incorporates the Services_JSON package to help with the handling. 
</p>
<p>
The entire code is laid out in one block, making it simple to cut & paste and mess with a bit. They even include a sample of its usage as a command line script, complete with sample input and the resulting output.
</p>]]></description>
      <pubDate>Thu, 18 Jan 2007 14:32:00 -0600</pubDate>
    </item>
  </channel>
</rss>
