-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate array based on a schema #113
Comments
Sounds interesting, what kind of schema did you think of? |
I'm not ready with the answer! |
are you talking about json validation? |
Yes. But not exclusively. |
php has a json_validate function in its latest version ..fixing things for minor version does not make sense i guess.. |
@rcsofttech85 @szepeviktor It's already possible to validate / extract multidimensional data from JSON e.g. Arrayy/tests/PHPStan/AnalyseTest.php Line 14 in eaea456
|
There is a tool for this https://github.com/coduo/php-matcher |
What is this feature about (expected vs actual behaviour)?
Provide a schema a check validity of/fix an array.
@voku Do you happen to know a package that does this? Do you plan to implement it?
The text was updated successfully, but these errors were encountered: