-
Notifications
You must be signed in to change notification settings - Fork 98
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
Feature request - Validate JSON against JSON Schema #842
Comments
There's no JSON Schema support currently, and there's no current work to add it. But we often get asked about it, so this might change. |
It would be a very welcomed feature. How can the community encourage you to raise the priority of this feature? Thank you! |
Just commenting in this issue would be enough |
Also would like this feature, maybe I might be able to contribute. |
Well, you could write it, and submit a pull request... |
Hi, Thank you |
Nothing new yet. |
Hi moravas, |
Is there enough interest in this to propose it as a GSOC '24 project? |
Depends on whether @vinniefalco considers this to be in scope. I initially thought that schema validation could be great in the example section. But I don't know if the implementation would be small enough to work as an example. I guess, if it is appropriate for a GSoC project, it's not so small. By the way, are there any other features related to JSON Schema, or is it only validation? |
Indeed. I don't really have a sense if such a thing should be part of boost::json, or an optional layer on top of it. |
There is no rule that says examples can't be large. |
The utility of an example greatly diminishes, if the implementation is too large to easily grok |
But that is false. The main use-case for examples is as follows: someone makes a copy of the code and incorporates it into their own program, or they use it as the beginning of a new program. For this purpose a large example is as good as any other. |
Hi there, any progress? I don't know other schema related feature right now |
No work has been done on this front so far. |
Hi,
In our Linux based C++ project we are using Boost JSON parsing library but I would like to validate the JSON document against JSON Schema.
I don't see any support for schema validation in Boost JSON.
Did I missed something, or is there any plan to add this feature to Boost?
Thank you
The text was updated successfully, but these errors were encountered: