Re: [RFC][Discussion] Enhance JSON error messages
| From: | Tim Düsterhus | Date: | Sun, 30 Jun 2024 12:02:18 +0000 |
| Subject: | Re: [RFC][Discussion] Enhance JSON error messages | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124088@lists.php.net to get a copy of this message | ||
Hi
On 6/28/24 15:49, juan carlos morales wrote:
Suggested by Jakub Zelenka (the main arquitect of the JSON part in php basically), in the PULL REQUEST is better to create a brand new function to have detailed error messages when json encoding, decoding, validating, fails.For the folks following along, I've commented on the PR. I think that improving the existing messages is the right choice, not adding new functions that users will need to remember to use. Best regards Tim Düsterhus