Json PHP
Json PHP
php)
Introduction Installing/Configuring Requirements Installation Runtime Configuration Resource Types Predefined Constants JsonSerializable The JsonSerializable class JsonSerializable::jsonSerialize Specify data which should be serialized to JSON 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
Introduction This extension implements the JavaScript Object Notation (JSON) data-interchange format. The decoding is handled by a parser based on the JSON_checker by Douglas Crockford.
Installing/Configuring
Requirements There is no installation needed to use these functions; they are part of the PHP core. Installation As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP by default. Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.net/package/json Runtime Configuration This extension has no configuration directives defined in php.ini. Resource Types This extension has no resource types defined.