respect-validation/library
Ayesh Karunaratne 746c755d14
Use json_validate in Rules\Json if available (#1394)
[`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.
2023-02-13 04:43:32 +00:00
..
Exceptions Create "Decimal" rule 2020-10-04 14:09:34 +02:00
Helpers Revert "Use "sokil/php-isocodes" on SubdivisionCode" 2021-03-19 15:12:45 +01:00
Message Update version of "respect/coding-standard" 2020-07-21 22:54:41 +02:00
Rules Use json_validate in Rules\Json if available (#1394) 2023-02-13 04:43:32 +00:00
ChainedValidator.php Create "Decimal" rule 2020-10-04 14:09:34 +02:00
Factory.php Auto-resolve exception namespaces 2020-10-04 11:26:20 +02:00
StaticValidator.php Create "Decimal" rule 2020-10-04 14:09:34 +02:00
Validatable.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
Validator.php Create mixin with rules names as methods 2020-10-04 13:04:20 +02:00