jsonvalidate v1.1.0

0

Monthly downloads

0th

Percentile

Validate 'JSON'

Uses the node library 'is-my-json-valid' or 'ajv' to validate 'JSON' against a 'JSON' schema. Drafts 04, 06 and 07 of 'JSON' schema are supported.

Readme

jsonvalidate

Build Status

Validate JSON against a schema using is-my-json-valid or ajv. This package is simply a thin wrapper around these node libraries, using the V8 package.

Installation

devtools::install_github("ropensci/jsonvalidate")

Usage

jsonvalidate::validate_json(json, schema)

or

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

License

MIT + file LICENSE © Rich FitzJohn.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

ropensci_footer

Functions in jsonvalidate

Name Description
json_validator Create a json validator
json_validate Validate a json file
No Results!

Vignettes of jsonvalidate

Name
jsonvalidate.Rmd
No Results!

Last month downloads

Details

License MIT + file LICENSE
LazyData true
URL https://github.com/ropensci/jsonvalidate
BugReports https://github.com/ropensci/jsonvalidate/issues
RoxygenNote 6.1.1
VignetteBuilder knitr
Encoding UTF-8
NeedsCompilation no
Packaged 2019-06-25 07:13:19 UTC; rfitzjoh
Repository CRAN
Date/Publication 2019-06-25 09:00:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/jsonvalidate)](http://www.rdocumentation.org/packages/jsonvalidate)