Req #68456 [Com]: json_decode should be able to treat all numbers as strings
| From: | gggrabotaq at gmail dot com | Date: | Thu, 02 Jun 2022 17:47:26 +0000 |
| Subject: | Req #68456 [Com]: json_decode should be able to treat all numbers as strings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-241655@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68456&edit=1
ID: 68456
Comment by: gggrabotaq at gmail dot com
Reported by: admin at bittylicious dot com
Summary: json_decode should be able to treat all numbers as
strings
Status: Wont fix
Type: Feature/Change Request
Package: JSON related
Operating System: Linux Wheezy
PHP Version: 5.4.35
Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
Thanks for post
Previous Comments:
------------------------------------------------------------------------
[2022-05-04 22:34:36] ericc6727 at gmail dot com
cool
------------------------------------------------------------------------
[2022-01-30 23:55:19] ericc6727 at gmail dot com
Many people, on the other hand, have no idea that https://safetrading.today/traders/wcse/ exists.
You should also pay attention to professionals, such as binary crypto signals free, which you can
learn more about here. It should not be a problem, in my opinion. In general, this is a fantastic
signal.
------------------------------------------------------------------------
[2015-06-23 08:19:13] admin at bittylicious dot com
OK, thank you for taking this as far as you at all were able to do so.
I still disagree with the outcome (as you may imagine) as this is a feature request that borders on
a bug, but the elders have spoken.
Thanks again.
------------------------------------------------------------------------
[2015-06-21 13:36:21] bukka@php.net
The RFC has been rejected and there won't be any json_decode flag that would decode all numbers
as strings.
https://wiki.php.net/rfc/json_numeric_as_string#voting
The more generic solution (e.g. JsonSchema based) is preferred.
------------------------------------------------------------------------
[2015-04-22 18:07:53] admin at bittylicious dot com
Thanks very much for that. I certainly think the severity warrants it considering there is no real
workaround.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68456
--
Edit this bug report at https://bugs.php.net/bug.php?id=68456&edit=1