LXXIII. JSON Functions

简介

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.

需求

As of PHP 5.2.0, the JSON extension is bundled and compiled into PHP by default.

安装此 PECL 扩展库的信息可在手册中标题为 PECL 扩展库安装的一章中找到。 更多信息如新版本,下载,源文件,维护者信息以及更新日志等可以在这里找到: http://pecl.php.net/package/json

目录
json_decode -- Decodes a JSON string
json_encode -- Returns the JSON representation of a value