validate_jsonfile_with_schemafile: Validate a JSON file against a JSON Schema file

Description Usage Arguments Examples

Description

Description

Usage

1

Arguments

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.

Examples

1
2
3
4
## Not run: 
validate_jsonfile_with_schemafile("data/item-3.json", "data/schema.json")

## End(Not run)

validatejsonr documentation built on May 1, 2019, 8:02 p.m.