mirror of
https://github.com/Respect/Validation.git
synced 2024-06-04 14:52:17 +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. |
||
---|---|---|
.. | ||
Exceptions | ||
Helpers | ||
Message | ||
Rules | ||
ChainedValidator.php | ||
Factory.php | ||
StaticValidator.php | ||
Validatable.php | ||
Validator.php |