问题
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