PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

json_decode> <java_last_exception_get
Last updated: Sun, 25 Nov 2007

view this page in

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

Table of Contents



json_decode> <java_last_exception_get
Last updated: Sun, 25 Nov 2007
 
add a note add a note User Contributed Notes
JSON
a DOT rabbit AT donec DOT net
22-Mar-2007 05:33
For those of you who wants to use JSON with PHP4 to process russian KOI8-r text, please read the following article: http://yozhek10nozhek.livejournal.com/5842.html (in russian)

Maybe it is neither completed yet nor professionally-written, but it doesn't aim to be some kind of full-featured manual.

Note, that you must have iconv extension loaded to use it; json extension is not needed, I use Services_JSON (http://pear.php.net/pepr/pepr-proposal-show.php?id=198) implementation.
Max Headroom
12-Nov-2006 07:49
The JSON function is basically a more widely accepted variation on the WDDX principle:
http://us2.php.net/manual/en/ref.wddx.php
giunta dot gaetano at sea-aeroportimilano dot it
04-Sep-2006 06:35
Two pure-php implementations of the json protocol that might be of use, e.g. for php 4 installs where adding extensions is not an option or because of extra functionality can be found here:

http://sourceforge.net/projects/phpxmlrpc (look for the extras package)

http://mike.teczno.com/json.html

Of course, performance is abysmal compared to the php extension, written in highly optimized C code...

json_decode> <java_last_exception_get
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites