Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21595 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17886 invoked by uid 1010); 20 Jan 2006 22:02:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17871 invoked from network); 20 Jan 2006 22:02:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2006 22:02:29 -0000 X-Host-Fingerprint: 195.197.172.115 gw01.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.115:35283] helo=gw01.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 7B/6F-09290-3FD51D34 for ; Fri, 20 Jan 2006 17:02:28 -0500 Received: from nest.netphobia.fi (YZDCXXXI.dsl.saunalahti.fi [85.76.35.232]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 56AF7110B98; Sat, 21 Jan 2006 00:02:22 +0200 (EET) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id k0KM2O8E014027; Sat, 21 Jan 2006 00:02:24 +0200 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id k0KM2ONI014024; Sat, 21 Jan 2006 00:02:24 +0200 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Sat, 21 Jan 2006 00:02:24 +0200 (EET) Reply-To: Jani Taskinen To: Rasmus Lerdorf cc: internals@lists.php.net In-Reply-To: <7.0.0.16.2.20060120134701.04186f60@zend.com> Message-ID: References: <43D13AAE.1030409@lerdorf.com> <7.0.0.16.2.20060120134701.04186f60@zend.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] JSON inclusion in core From: sniper@iki.fi (Jani Taskinen) What about pecl/filter ?! I find that much more important and useful than any yet-another-must-have-because-it-is-sexy-and-buzzword-compliant extension.. --Jani On Fri, 20 Jan 2006, Andi Gutmans wrote: > > 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 > >