validate_jsonfile_with_schemafile {validatejsonr} | R Documentation |
Description
validate_jsonfile_with_schemafile(jsonfn, schemafn)
jsonfn |
The JSON file |
schemafn |
The JSON Schema file This function will check that the supplied files are not empty and are accessible and it will then validate that the JSON file is valid (and well formed) against the supplied schema file. Currently only version 4 of the JSON schema is supported. |
## Not run: validate_jsonfile_with_schemafile("data/item-3.json", "data/schema.json") ## End(Not run)