Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21594 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12346 invoked by uid 1010); 20 Jan 2006 21:49:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12316 invoked from network); 20 Jan 2006 21:49:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2006 21:49:27 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:58330] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 99/AE-09290-6EA51D34 for ; Fri, 20 Jan 2006 16:49:27 -0500 Received: (qmail 26727 invoked from network); 20 Jan 2006 21:49:22 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 20 Jan 2006 21:49:22 -0000 Message-ID: <7.0.0.16.2.20060120134701.04186f60@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.0.16 Date: Fri, 20 Jan 2006 13:49:12 -0800 To: Rasmus Lerdorf ,internals@lists.php.net Cc: omar@rmilk.com In-Reply-To: <43D13AAE.1030409@lerdorf.com> References: <43D13AAE.1030409@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] JSON inclusion in core From: andi@zend.com (Andi Gutmans) Hey, I think having a JSON extension for PHP is a good idea. We have written our own implementation in PHP for framework but could definitely benefit from a C extension down the road if it gets widely adopted. My only concern is that this is a very new extension and I haven't seen any docs yet. So generally speaking I'd be a +1 but I prefer to be able to first review docs, make sure APIs are reasonable and the best they can be, and then keep it experimental for a while to make sure it's stable (which would have probably been the case anyway). Andi At 11:31 AM 1/20/2006, Rasmus Lerdorf wrote: >pecl/json is a rather simple extension with no external deps (it >bundles the small library it uses). The JSON format is stable with >no real possibility of changing basically by definition, and I see >its use exploding this year. There is also talk to a JSON Request >object being added to browsers and if that happens we need to >support that natively much like we support url-encoded form data >ending up directly in $_POST. I could see a $_JSON if browsers >start sending this. But, as an initial step how about we bundle >pecl/json in the next release? > >There is an issue with the fact that it is LGPL'ed. But perhaps we >can work with Omar to put at least the extension part under the PHP >license when bundled with PHP. > >-Rasmus > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php