Skip to content

etylermoss/vjson-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vjson-schema (Validate JSON Schema)

Validate JSON file(s) against a JSON schema. See vjson-schema --help for more information.

Usage

$> vjson-schema --help

Usage: vjson-schema [OPTION...] SCHEMA [TARGET...]
Validate JSON file(s) against a JSON schema.

  SCHEMA                     Path to JSON schema
  TARGET                     Paths to validate against schema

 OPTIONS:
  -r, --recurse[=DEPTH]      Recurse to depth
  -v, --verbose              Verbose output

  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to <eden@etylermoss.com>.

Installation

  • Archlinux

  • Linux (All)

    • Follow the instructions for building from source
    • # ... already built from source
      $> sudo cmake --install build/

Building

Dependencies

Instructions

$> git clone https://github.com/etylermoss/vjson-schema.git && cd vjson-schema/
$> cmake -DCMAKE_BUILD_TYPE=Release -B build/
$> cmake --build build/ -- -j 6
$> ./build/vjson-schema --help # done!