Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87104 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95756 invoked from network); 10 Jul 2015 21:39:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2015 21:39:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.27 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.27 out3-smtp.messagingengine.com Received: from [66.111.4.27] ([66.111.4.27:35227] helo=out3-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/9B-48996-18B30A55 for ; Fri, 10 Jul 2015 17:39:13 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C063C20621 for ; Fri, 10 Jul 2015 17:39:10 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 10 Jul 2015 17:39:10 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=K21LUxgLYKYnRow byfg8Mlk+Ihw=; b=MyPnLv6XHPKDiO7iK53X0NyDRGRKeMiS9EgegF5nBPyqpVD nRRe9i8PgWmW4NTEoF+jlXQuzj9Fcr/29IjxHyi19PA78vQPWB7+pJJn5+bRXgB6 XbdQfBEjt5dv9UBcMZgjwLbhVyLg0JWCy8nDwnGgaa4ahqn/VdkHo7IB4l0o= X-Sasl-enc: hk4JapECoQeO5gDnwl6PhqENYLbF3CJF1C8XqKDVLXPj 1436564350 Received: from Crells-MacBook-Pro.local (unknown [63.250.249.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 4FF496800E2 for ; Fri, 10 Jul 2015 17:39:10 -0400 (EDT) To: internals@lists.php.net References: <87ad99ac-6647-4e40-a9c2-d652a46cfaae@me.com> Message-ID: <55A03B7D.1040907@garfieldtech.com> Date: Fri, 10 Jul 2015 16:39:09 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <87ad99ac-6647-4e40-a9c2-d652a46cfaae@me.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Concept for Json_decode From: larry@garfieldtech.com (Larry Garfield) On 7/10/15 3:27 PM, Dean Eigenmann wrote: > Hello, > > I have a proposal for PHP. The proposed interface would allow > developers to decode json into a custom object directly. If given the > approval I would possibly be able to implement it. > > Here is my github link with further details: > https://github.com/decanus/JSON-Aware/tree/master > > Regards, > Dean I'll ask before someone else does... Why does this need to be in PHP core? Why can't it be done purely in user-space PHP code? The syntax would be different, fine, but how is it functionally better in C? -- --Larry Garfield