jsonvalidate

Build Status Build status

Validate JSON against a schema using is-my-json-valid. This packagfe is simply a thin wrapper around the node library, using the V8 package to call is-my-json-valid from R.

Installation

devtools::install_github("ropenscilabs/jsonvalidate")

Usage

jsonvalidate::validate_json(json, schema)

or

validate <- jsonvalidate::validate_json(schema)
validate(json)
validate(json2) # etc

License

MIT + file LICENSE © Rich FitzJohn.

ropensci_footer