Req #69422 [Com]: json_encode() needs encoding specification
| From: | fal561994 at gmail dot com | Date: | Tue, 24 Aug 2021 23:19:02 +0000 |
| Subject: | Req #69422 [Com]: json_encode() needs encoding specification | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236056@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69422&edit=1
ID: 69422
Comment by: fal561994 at gmail dot com
Reported by: yohgaki@php.net
Summary: json_encode() needs encoding specification
Status: Open
Type: Feature/Change Request
Package: JSON related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
https://siyntk.com/%d8%a7%d9%81%d8%b6%d9%84-%d8%b4%d8%b1%d9%83%d8%a9-%d8%aa%d8%b9%d9%82%d9%8a%d9%85/
https://siyntk.com/pipe-insulation-company/
https://siyntk.com/detection-of-water-leaks-in-makkah/
https://siyntk.com/home-sterilization-company-in-jeddah/
https://siyntk.com/detection-of-water-leaks-in-jeddah/
https://siyntk.com/inspect-villas-before-buying/
https://siyntk.com/homes-and-villas-restoration-company-in-riyadh/
https://siyntk.com/%d8%b4%d8%b1%d9%83%d8%a9-%d8%b9%d8%b2%d9%84-%d8%a7%d8%b3%d8%b7%d8%ad-%d8%a8%d8%a7%d9%84%d8%b1%d9%8a%d8%a7%d8%b6/
https://siyntk.com/%d9%83%d8%b4%d9%81-%d8%aa%d8%b3%d8%b1%d8%a8%d8%a7%d8%aa-%d8%a7%d9%84%d9%85%d9%8a%d8%a7%d9%87/
https://siyntk.com/%d8%b9%d9%88%d8%a7%d8%b2%d9%84-%d8%a7%d9%84%d9%81%d9%88%d9%85-%d8%b4%d8%b1%d9%83%d8%a9-%d8%b9%d8%b2%d9%84-%d9%81%d9%88%d9%85-%d9%84%d9%84%d8%a7%d8%b3%d8%b7%d8%ad/
https://siyntk.com/insulation-of-water-tanks/
https://siyntk.com/%d9%85%d9%87%d9%86%d8%af%d8%b3-%d9%81%d8%ad%d8%b5-%d9%85%d8%a8%d8%a7%d9%86%d9%8a-%d8%a8%d8%a7%d9%84%d8%b1%d9%8a%d8%a7%d8%b6-%d8%a8%d8%ac%d8%af%d8%a9-%d8%a8%d8%a7%d9%84%d8%af%d9%85%d8%a7%d9%85/
Previous Comments:
------------------------------------------------------------------------
[2015-04-19 22:13:04] yohgaki@php.net
Related bug
https://bugs.php.net/bug.php?id=68456
------------------------------------------------------------------------
[2015-04-10 21:57:21] yohgaki@php.net
Description:
------------
Currently, json_encode() encode PHP int/float/bool as JSON numeric(int/float) and bool. Since JSON
numeric does not map to PHP int/float as JSON numeric could be any precision, large numbers need to
be stored as "string" which is converted to JSON string.
Some "string" needed to be encoded as numeric. To do that json_encode() needs some kind of
specification to encode data as programmer intended.
http://json-schema.org/examples.html
This could be used as the specification.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69422&edit=1