-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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 schema validator #305
Comments
JSON Schema is quite complicated, and it would not make sense to include validation into a header-only library. However, doing this in a different project surely would make sense. Unfortunately, I do not have time for this right now. |
I started to do exactly that: |
@pboettch Have you looked at https://github.com/tristanpenman/valijson which is a header-only C++ library which was tested to work with v1.1.0 of this library? |
I saw it when doing my research, then forgot about it and was disappointed by the validator of rapidjson. Stupid me - it looks good. But I learnt how to use |
That kind of experience with something you weren't well versed in before is always helpful. :) |
@pboettch So what is the state of your project now? Will you continue or are you happy with tristanpenman/valijson? |
I continue. The design approach is different (completely based on your json-lib and nothing else). And it's fun. |
Sorry for noise, but I can't see why the validation can not be a header only lib? |
Which one? valijson is header only. Mine's not. Mine seems to be faster. Compilation and runtime. |
I've just seen yours, I like the idea of nlohmann lib "addon" |
No, but you can try it yourself. Just include the .cpp-file in your code. You will lose on compile-time, gain nothing on runtime but it might be easier to integrate if you don't want to use CMake. |
ok I'll give a try thx for your lib, seems very promising |
Hammering everything to header-only because project-policies is not helping anyone. At least in my opinion. |
Oh ok, I don't have enough experience to have a good opinion |
Is there any plan to extend the project to support json schema for validating serialization/ serialization ?.
The text was updated successfully, but these errors were encountered: