open-source-parsers / open-source-parsers/jsoncpp
JSON Schema Support
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.9k
- Forks
- 2.7k
- Avg merge
- 31m
- Merged PRs (30d)
- 1
Description
Are there any future plans to include JSON schema validation as part of JSONCPP? I'm aware it can be done using a project called valijson which is compatible with JSONCPP. It would be preferable to have this functionality as part of JSONCPP as valijson shows little regard for version control or backwards compatibility which is a concern when include in an important project (all work is done in master branch, no version tags or branches too lock to, at some point decision was made to drop pre C++11 standards support but instead of creating a BC tag just committed it right over the top).
At the moment I'm using rapidjson to build schemas and validate by converting the Json::Values used throughout to rapidjson::Documents but this is a little messy/wasteful of resources.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing JSONCPP's existing Json::Value API and the issue's noted valijson and rapidjson integrations. Clarify the desired scope, compatibility requirements, and ownership of JSON Schema support before identifying implementation files or tests; done would require an agreed design and validation of schema behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100