Validate 'JSON'

Uses the node library 'is-my-json-valid' to validate 'JSON' against a 'JSON' schema.


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.

devtools::install_github("ropenscilabs/jsonvalidate")
jsonvalidate::validate_json(json, schema)

or

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

MIT + file LICENSE © Rich FitzJohn.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("jsonvalidate")

1.0.0 by Rich FitzJohn, 9 months ago


https://github.com/ropenscilabs/jsonvalidate


Report a bug at https://github.com/ropenscilabs/jsonvalidate/issues


Browse source code at https://github.com/cran/jsonvalidate


Authors: Rich FitzJohn [aut, cre], Mathias Buus [cph]


Documentation:   PDF Manual  


Task views: Web Technologies and Services


MIT + file LICENSE license


Imports V8

Suggests knitr, rmarkdown, testthat


Imported by geojsonlint.


See at CRAN