json-schema-validator
json-schema-validator copied to clipboard
JSON schema validator for JSON for Modern C++
The latest release of this library dates back to 2 years ago. vcpkg ties port updates to releases for convenience, so it would be helpful if a new release were...
The "Default value processing" example snippet in the README gives me the expected output of {"height":10,"width":20}. However, when I modify the schema to put the properties in a "dimensions" object,...
Replaces use of `dynamic_cast` with member functions on `schema`. This is currently a minimal implementation, since most derived classes will return `nullptr`, but this is easy to remedy if the...
It appears that it is impossible to disable building the examples and tests. There are options for it with `JSON_VALIDATOR_BUILD_EXAMPLES` and `JSON_VALIDATOR_BUILD_TESTS`, however they get ignored completely if they are...
`dynamic_cast` often requires RTTI to be enabled. If possible, it would be helpful to replace usage of `dynamic_cast` with some other mechanism so that this library can be used in...
This is a draft of cmake simplification following the discussion from #185 note: It's maybe too big of a move as I see a lot of effort have been put...
Hi @pboettch ! While debugging a faulty JSON schema file, I found it helpful to have some more details in an error message. This PR tentatively adds the list of...
Hi, sorry for opening a ticket for a question but I'm trying to figure out why Yocto's build system broke on this repo and it might be related to the...
Build OS: Ubuntu 18.04 Compiler: GCC (g++ 9.4.0) Using CMake and Conan I've been using nlohmann_json 3.7.3 for 2+ years but wanted to add a schema validator. Link below says...
Would it be possible to extend the `json_validator::set_root_schema(json &&schema)` function to allow also a custom error handler like `json_validator::validate(...)` has? This would allow me to provide a more precise and...