Re: RFC json_validate() - status: Under Discussion

From: Date: Thu, 25 Aug 2022 19:21:59 +0000
Subject: Re: RFC json_validate() - status: Under Discussion
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-118469@lists.php.net to get a copy of this message
On Thu, Aug 25, 2022, 9:12 PM David Gebler <davidgebler@gmail.com> wrote: > > I agree that the number of userland implementations for a "is_valid_json" > type function including in some widely used frameworks and systems > indicates there's some degree of demand in the ecosystem for validating a > JSON string. > I don't have an option about the rest of your email, but I wanted to point out that the vast userland need for validating JSON right now is being "hacked" for lack of a better functionality. Whether it's justifiable to bring this to core is up for debate, but I at least take it as a valid point that "asking a computer to do a task just to check whether it failed" is odd and limiting to say the least >

« previous php.internals (#118469) next »