Re: [RFC] jsond

From: Date: Mon, 12 Jan 2015 03:01:13 +0000
Subject: Re: [RFC] jsond
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-80405@lists.php.net to get a copy of this message
Hey: On Mon, Jan 12, 2015 at 1:27 AM, Jakub Zelenka <bukka@php.net> wrote: > Hi, > > This rfc about replacing json with jsond is under discussion. > > https://wiki.php.net/rfc/jsond > > I have finally done some benchmarks. You can find a link in the RFC. > > It's been extensively tested for the last few months and there is just one > BC that I'm aware of. > > The new parser accepts only float number that conforms to RFC 7159 . This > is also not consistent between decoding float number that are and are not > in the array/object ( there are two conversion rules). The following > formats are rejected: > > 1. parsed at the top level: 07, 0xff, .1, -.1 > 2. parser by JSON_Parser: [1.], [1.e1] > does master of josnd already works with PHP7? I was plan to benchmark the performance with wordpress, but seems it still not compileable with PHP7? thanks > I feel that this was a bug in the new parser and we must conform to RFC > 7159 ! > > Cheers > > Jakub -- Xinchen Hui @Laruence http://www.laruence.com/

« previous php.internals (#80405) next »