-
Notifications
You must be signed in to change notification settings - Fork 3
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
JSON-structure-validator example doesn't seem to work #8
Comments
In case the above dropbox link is not accessible for any reason, here's the code I pasted into the runkit window:
And here's the output I saw:
I expected to see:
|
I found that this version does work as expected:
This is the output:
So the problem appears to be with passing an array of map structures as the second parameter to |
It all works as expected, the problem is with the example and the docs. It seems that I made some mistakes around it. Thanks for letting me now, I'll get to it when I have a chance. |
Attempting to run the suggested example in Runkit, I see this (screen capture is attached): https://www.dropbox.com/s/vchk5v7qu9n664f/Screenshot%202018-07-01%2010.02.11.png?dl=0
I'm not sure why the validation failed; An "aliases" array with a single record is expected?
The text was updated successfully, but these errors were encountered: