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 函数

简介

访函数据实现了 » JavaScript Object Notation (JSON) 数据格式的转换。解码函数的处理方式基于 Douglas Crockford 的 JSON_checker

需求

对于 PHP 5.2.0 以上版本,JSON 扩展库已默认编译并绑定。

安装此 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 09: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
11-Nov-2006 11: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 11: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 | stats | sitemap | contact | advertising | mirror sites