jsonsv

Crates.iojsonsv
lib.rsjsonsv
version0.1.2
sourcesrc
created_at2019-11-20 18:38:04.366629
updated_at2019-11-20 22:57:30.623108
descriptionsimple CLI validator for JSON schema
homepage
repositoryhttp://gitlab.com/efronlicht/jsonsv
max_upload_size
id183044
size30,382
Efron Licht (efronlicht)

documentation

README

jsonsv 0.1.0

jsonsv validates an instance of JSON against a provided schema. it prints "valid" or "invalid" to stdout, and validation errors, if any, to stderr

INSTALLATION

from source

install rustup by following the directions on rustup.rs, then

cargo install jsonsv

download a binary

Binaries are available at [https://gitlab.com/efronlicht/jsonsv-bin]

USAGE:

jsonsv <schema> <instance>

FLAGS:

-h, --help       Prints help information
-V, --version    Prints version information

ARGS:

- <schema>      the schema to validate against. tries to load the path given as a file. if that file doesn't exist, treats the input as a string.
- <instance>    the instance to validate with the schema. tries to load the path given as a file. if that file doesn't exist, treats the input as as string.
Commit count: 0

cargo fmt