Grammar for json schema

て烟熏妆下的殇ゞ 提交于 2021-01-28 00:07:31

问题


I would like to write a validator for json files that conforms to the json schema paradigm. I've been looking for a grammar that describes json schema without any luck. Do you know if there is any formal description of the json schema specifications that I can use to write a parser?

Thank you.

f.


回答1:


The meta-schema is at http://json-schema.org/schema

The semantics are defined in http://json-schema.org/latest/json-schema-validation.html



来源:https://stackoverflow.com/questions/29435810/grammar-for-json-schema

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!