Zend_Json-Introduction.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.json.introduction">
  4. <title>Introduction</title>
  5. <para>
  6. <classname>Zend_Json</classname> provides convenience methods for serializing
  7. native PHP to JSON and decoding JSON to native PHP. For more information
  8. on JSON, <ulink url="http://www.json.org/">visit the JSON project
  9. site</ulink>.
  10. </para>
  11. <para>
  12. JSON, JavaScript Object Notation, can be used for data
  13. interchange between JavaScript and other languages. Since JSON can be
  14. directly evaluated by JavaScript, it is a more efficient and lightweight
  15. format than XML for exchanging data with JavaScript clients.
  16. </para>
  17. <para>
  18. In addition, <classname>Zend_Json</classname> provides a useful way to convert any
  19. arbitrary XML formatted string into a JSON formatted string. This built-in
  20. feature will enable PHP developers to transform the enterprise data
  21. encoded in XML format into JSON format before sending it to browser-based
  22. Ajax client applications. It provides an easy way to do dynamic data
  23. conversion on the server-side code thereby avoiding unnecessary XML
  24. parsing in the browser-side applications. It offers a nice utility
  25. function that results in easier application-specific data processing techniques.
  26. </para>
  27. </sect1>
  28. <!--
  29. vim:se ts=4 sw=4 et:
  30. -->