mirror of
https://github.com/Respect/Validation.git
synced 2024-05-15 20:56:40 +02:00
746c755d14
[`json_validate` function](https://wiki.php.net/rfc/json_validate) [added in PHP 8.3](https://php.watch/versions/8.3/json_validate) validates a given string input to contain valid JSON without decoding it in memory. This adds a function availability check to `Rules\Json`, and uses the new function instead of decoding the given input, followed by a last-error check. |
||
---|---|---|
.github/workflows | ||
bin | ||
data/iso_3166-2 | ||
docs | ||
library | ||
tests | ||
.docheader | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
mkdocs.yml | ||
phpcs.xml.dist | ||
phpstan.neon.dist | ||
phpunit.xml.dist | ||
README.md |