Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-16 Thread Pascal MARTIN, AFUP
Le 09/06/2015 20:23, Jakub Zelenka a écrit : The voting is now open: https://wiki.php.net/rfc/json_numeric_as_string#voting Hi, Discussing this RFC with other people at AFUP, we would, by a small margin, also be on the -1 side (for all 4 points). Still, if this was to pass, we would be

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-16 Thread Pasindu De Silva
Martin, I am guessing it's the same reason as Derick?. On Wed, Jun 17, 2015 at 12:39 AM, Pascal MARTIN, AFUP mail...@pascal-martin.fr wrote: Le 09/06/2015 20:23, Jakub Zelenka a écrit : The voting is now open: https://wiki.php.net/rfc/json_numeric_as_string#voting Hi, Discussing this

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-10 Thread Jakub Zelenka
Hi Yasuo, On Wed, Jun 10, 2015 at 11:57 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: Hi Derick, On Wed, Jun 10, 2015 at 7:28 PM, Derick Rethans der...@php.net wrote: Hi, The voting is now open: https://wiki.php.net/rfc/json_numeric_as_string#voting FWIW, I voted no to all of them

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-10 Thread Yasuo Ohgaki
Hi Derick, On Wed, Jun 10, 2015 at 7:28 PM, Derick Rethans der...@php.net wrote: Hi, The voting is now open: https://wiki.php.net/rfc/json_numeric_as_string#voting FWIW, I voted no to all of them because (as you even say in the RFC), this is probably better be solved with a JSON

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-10 Thread Yasuo Ohgaki
On Wed, Jun 10, 2015 at 7:57 PM, Yasuo Ohgaki yohg...@ohgaki.net wrote: On Wed, Jun 10, 2015 at 7:28 PM, Derick Rethans der...@php.net wrote: Hi, The voting is now open: https://wiki.php.net/rfc/json_numeric_as_string#voting FWIW, I voted no to all of them because (as you even say

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-10 Thread Derick Rethans
On Tue, 9 Jun 2015, Jakub Zelenka wrote: Hi, The voting is now open: https://wiki.php.net/rfc/json_numeric_as_string#voting FWIW, I voted no to all of them because (as you even say in the RFC), this is probably better be solved with a JSON schema thingy. cheers, Derick -- PHP

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-10 Thread Lester Caine
On 10/06/15 11:57, Yasuo Ohgaki wrote: JSON Schema Core http://json-schema.org/latest/json-schema-core.html#anchor8 Note: JSON specification does not specify precision. So number could be any number. This is my own problem with most of these recent developments. Simply switching from a 32 bit

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-10 Thread Yasuo Ohgaki
Hi Jakub, On Wed, Jun 10, 2015 at 8:09 PM, Jakub Zelenka bu...@php.net wrote: The idea would be to use JSON schema just for selecting the type for deserialized item in decoded JSON. It means that you could for example select one float item that you want to decode as a string but other floats

Re: [PHP-DEV] [VOTE] JSON number to string

2015-06-10 Thread Pasindu De Silva
Hi Guys It was state that JSON scheme will take some time to be implement and probably wouldn't be able for 5.6. IMHO JSON_FLOAT_AS_STRING probably it isn't the idle fix (the idle solution would be to not even have a bug/error like this), so the question would be, do we want developers decoding