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 擴充功能安裝的一章中找到。 更多訊息如新版本,下載,原始文件,維護者訊息以及更新日誌等可以在這裡找到: » https://pecl.php.net/package/json
Table of Contents
- json_decode — Decodes a JSON string
- json_encode — Returns the JSON representation of a value