PHP Doku:: JSON-Funktionen - ref.json.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige GrunderweiterungenJavaScript-Objekt-NotationJSON-Funktionen

Ein Service von Reinhard Neidl - Webprogrammierung.

JavaScript-Objekt-Notation

<<Vordefinierte Konstanten

json_decode>>


UnterSeiten:

JSON-Funktionen

Inhaltsverzeichnis


4 BenutzerBeiträge:
- Beiträge aktualisieren...
brothersevenlonlegs at hotmail dot com
7.02.2010 18:18
although the Json is more widely acceptable serialization/deserialization scheme than WDDX, but the decoding speed with Chinese character in WDDX in PHP is much faster than Json; the same several MB serialized data file can deserialize in only ~80ms and for Json is 800ms, 10 times difference !!!
a DOT rabbit AT donec DOT net
22.03.2007 10: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.11.2006 0: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
4.09.2006 12: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...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)