-
-
Notifications
You must be signed in to change notification settings - Fork 177
JSON schema validator #280
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Okay, we'll add it to the list. |
The jsonschema extension is now on master. Feedback appreciated. |
I am trying to use the JSON schema validator, by having the json schema is defined in another file, and referring the file, { The other_file.json is located in the same .cpp file, but while executing the code I am getting the below error. Also, I have tested some other basic functionalities with the JSON schema validator, and it's working as expected. |
I found the example, in the schema validator documentation. https://github.com/danielaparker/jsoncons/blob/master/doc/ref/jsonschema/jsonschema.md |
To resolve a reference to an external JSONSchema document, the jsoncons implementation needs a URIResolver provided. The error message "Don't know how to load JSON Schema" suggests you haven't provided one. Compare with the example
|
Thanks @danielaparker |
JSON schema validator
What other libraries (C++ or other) have this feature?
Include a code fragment with sample data that illustrates the use of this feature
Understanding JSON Schema conventions
Schema :
The text was updated successfully, but these errors were encountered: