Re: [RFC] Preserve Fractional Part in JSON encode
| From: | Ferenc Kovacs | Date: | Thu, 25 Dec 2014 20:16:05 +0000 |
| Subject: | Re: [RFC] Preserve Fractional Part in JSON encode | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79944@lists.php.net to get a copy of this message | ||
On Thu, Dec 25, 2014 at 9:05 PM, Andrea Faulds <ajf@ajf.me> wrote:
>
> > On 25 Dec 2014, at 19:32, Juan Basso <jrbasso@gmail.com> wrote:
> >
> > Good evening and merry christmas,
> >
> > After some discussion in a separated thread I created the RFC to discuss
> > about the implementation of another json_encode option.
> >
> > The RFC can be found here:
> > https://wiki.php.net/rfc/json_preserve_fractional_part
> >
> >
> > Juan Basso
>
> Hi,
>
> While I can see there’s some benefit to this when dealing with
> poorly-written JSON parsers, I think that we definitely shouldn’t make this
> behaviour the default.
>
AFAIK that is only mentioned under the future scope, so deciding about that
is out-of-scope for the current RFC.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu