gojsonvalidator

command module
v0.0.0-...-2f6474b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2019 License: MIT Imports: 9 Imported by: 0

README

gojsonvalidator

Description

gojsonvalidator is a command-line tool based on gojsonschema to validate JSON documents using JSON schema.

Usage of gojsonvalidator:
  -f value
    	One or more document files to validate.
  -i	Parse a single JSON document from STDIN. (Works in conjunction with -f)
  -s string
    	Schema file to validate documents with. (default "schema.json")
  -v	Print verbose output about all files.

Installation

To install gojsonvalidator use go get

$ go get github.com/johandorland/gojsonvalidator

Dependencies

Dependencies are managed using Glide

Note that if you want to use GoConvey's web interface while testing, install it using go get github.com/smartystreets/goconvey as it does not support installation in the vendor directory.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL