Is there a stable library that can validate JSON against a schema?

json-schema.org代表list of implementations.特别是C和C++缺失.

Is there a reason I can't easily find a C++ JSON schema validator?
Doesn't anyone else want a quick way to validate incoming JSON files?

推荐答案

Is there a stable library that can validate JSON against a schema?

I found a couple hits on google:

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.

有什么原因我不能很容易地找到C++的JSON模式验证器吗?

I believe JSON originated as a web technology, and C/C++ has fallen out of favor for web app implementation.

Json相关问答推荐

如何使用ChoETL将复杂的JSON转换为CSV

修改Deneb图表中工具提示的字体大小

JOLT转换以根据条件删除json对象

Powershell ConvertFrom-Json 意外地从包含字符串的单个项目数组生成字符串而不是对象数组

Jolt 转换数组对象并将某些字段移动到嵌套数组

将环境变量值从 yaml 传递到 json

如何通过 jolt 将一个对象中的键和值添加到数组中的每个对象中

用powershell条件解析json文件的数组对象

如何在 Postman 中匹配 json 响应中的内容?并可视化

如何在linux中用jq过滤json数组?

如何在 Go 中生成带有排序键的 JSON?

ASP.NET MVC - 将 Json 结果与 ViewResult 结合起来

以 unicode 将 pandas DataFrame 写入 JSON

使用绝对或相对路径在 curl 请求中发送 json 文件

可以在 SharedPreferences 中保存 JSON 数组吗?

你如何在 Arrays of Arrays 上 OPENJSON

JSON - 是否有任何 XML CDATA 类似功能?

jq:按属性分组和键

如何遍历 JSON 中的条目?

如何在 postgresql 9.3 中循环 JSON 数组