Replies: 1 comment
-
|
You're right, the way to tell the validator how to load additional schema is not described in the README. However, there is an example in the source-tree which has been moved recently: https://github.com/pboettch/json-schema-validator/blob/main/test/json-schema-validate.cpp There you can see how a loader-function is passed to the constructor of the validator. Does this help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I'm starting to use this library but it's hard to use without documentation. I have a JSON and two schemas, and one has "$ref"s to another schema. Here is my code but it doesn't work, maybe I have to add the second schema but idk how:
Thanks in advance for your time.
Beta Was this translation helpful? Give feedback.
All reactions