Note that since PHP 5.2 that this is core functionality. Simply use the supplied functions and constants as shown in the examples shown under json_decode() and json_encode().
There are a number of examples around based on external class libraries, e.g. "JSON" or "php-json". I have not needed to use these. You decide. Do not be misled by these deprecated examples.
JavaScript Object Notation
- Introduction
- Installing/Configuring
- Predefined Constants
- JSON Functions
- json_decode — Decodes a JSON string
- json_encode — Returns the JSON representation of a value
- json_last_error — Returns the last error occurred
JSON
dizzley at disley dot NOspamTHANKS dot plus dot com
29-Aug-2009 12:16
29-Aug-2009 12:16
