Re: RFC json_validate() - status: Under Discussion
| From: | Peter Bowyer | Date: | Fri, 26 Aug 2022 08:28:12 +0000 |
| Subject: | Re: RFC json_validate() - status: Under Discussion | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118487@lists.php.net to get a copy of this message | ||
Hi Juan,
On Thu, 25 Aug 2022 at 17:02, juan carlos morales <
dev.juan.morales@gmail.com> wrote:
> RFC: https://wiki.php.net/rfc/json_validate
Thanks for bringing forward this RFC. I am in favour of this change, as you
can't efficiently validate JSON in userland.
Like Rowan I'm not convinced JSON_THROW_ON_ERROR belongs here. I can't
think of a case where more than a boolean response is needed.
Peter