Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118469 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 67162 invoked from network); 25 Aug 2022 19:22:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Aug 2022 19:22:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8F1801804B5 for ; Thu, 25 Aug 2022 12:22:11 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 25 Aug 2022 12:22:11 -0700 (PDT) Received: by mail-oo1-f54.google.com with SMTP id q6-20020a4aa886000000b0044b06d0c453so2980002oom.11 for ; Thu, 25 Aug 2022 12:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=U7EiglvZqk3R3h3c81/FXnWyGzpNjzI2GjfkRjCEBpk=; b=JAweS5jh8p+kgmAm6LINDPdkA8/RPtVDYUo3RnDZ3w0cfrERFOKFOw/g3jLq0cchjZ hQ7hYuNfoYC66Jy/UNcGKerP/eXnd70qyULZ3s6yTRu517yoAFf3RFkt0uBxV016TZvs EfH7LOKpFuG7YJxVj4qd2IgXloNcoHsXd9cclmnUtfRNWh4Iwnwog/RVia2jhkNQaHWA iuv24n9lFk+sbEZ14JiaqmLHzxiWQz6ps4GO+fWWvpuwifeT8i8nZEo0DHxdzwZKn0i5 htY1fWAlVLxDpiEBU2Rfmo0Z2I9a/UbA6RMfoppNZanHDgLqtJ4zXwUQmDPfFXECfnaK dcCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=U7EiglvZqk3R3h3c81/FXnWyGzpNjzI2GjfkRjCEBpk=; b=y3Ah3CmjUrEYkc2MgdLVCHqAeaf8H5eCz1P/kSDTxDi1zeHg4qp+AsQy7j0Fg4F7xY X3N/SnXegXG438hD/IM4auisujubvDq8zlfoKO0xE8yPEYrZAHHILXmlW24fAvnkjILx 7PB9QChpWMgOQ1zjN1i4HTJojrQ+4zh15kZ+XeCq29K90i8oHTsu3Y9Gqj00im+/5IX6 pDL/DMnA1cE/uWPFC/m8u7YBZIiMe70/4/hQMY278F9NH6rnZQ7t9UHHs3XNb0QzhKki 9CpLTsBzZOPA/BFaZ60ierJfaqJ/yunF+U58UkgtxFFn9XzPQD1mdp+8QHBJgV/YL14m rp+w== X-Gm-Message-State: ACgBeo1bd1L37Kk3Ys2khyqktUL9ARDIWyw2vSqc5hs924M0ArBF1e3N Hqe/fbwgpuu0HPomsw2f9Lx7nc0FKCfZ/TByDF4= X-Google-Smtp-Source: AA6agR4I7YzeZ6v6mHyTBLmc9cVIbFcLco9E945FVK+p1stn+eNdlYOW3l2uRFEuMG8KwVnRrnfxeLsdjXJyP7hP3Ls= X-Received: by 2002:a4a:4fc7:0:b0:448:a841:3ac2 with SMTP id c190-20020a4a4fc7000000b00448a8413ac2mr198820oob.58.1661455330277; Thu, 25 Aug 2022 12:22:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 25 Aug 2022 21:21:59 +0200 Message-ID: To: David Gebler Cc: juan carlos morales , PHP Internals List Content-Type: multipart/alternative; boundary="000000000000c57f3305e715b6d8" Subject: Re: [PHP-DEV] RFC json_validate() - status: Under Discussion From: deleugyn@gmail.com (Deleu) --000000000000c57f3305e715b6d8 Content-Type: text/plain; charset="UTF-8" On Thu, Aug 25, 2022, 9:12 PM David Gebler 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 > --000000000000c57f3305e715b6d8--