Is there a stable library that can validate JSON against a schema?
I found a couple hits on google:
- From the Chromium project: http://aaronboodman-com-v1.blogspot.com/2010/11/c-version-of-json-schema.html
- http://avro.apache.org/docs/1.4.1/api/cpp/html/index.html
You could also plug a Python or Javascript interpreter into your app, and simply run the native version of those validator implementations that you’ve already found.
Is there a reason I can’t easily find a C++ JSON schema validator?
I believe JSON originated as a web technology, and C/C++ has fallen out of favor for web app implementation.