Re: RFC json_validate() - status: Under Discussion
| From: | Peter Bowyer | Date: | Fri, 26 Aug 2022 09:54:33 +0000 |
| Subject: | Re: RFC json_validate() - status: Under Discussion | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118499@lists.php.net to get a copy of this message | ||
On Fri, 26 Aug 2022 at 09:56, Paul Crovella <paul.crovella@gmail.com> wrote:
> I'm for this as well. Though something more than a boolean is useful to
> indicate when the max depth has been exceeded as that's not strictly a
> problem with the json's validity.
>
That's a good point which I had overlooked. Does an exception make most
sense when this happens?
Peter