Skip to content

A cli tool to validate json documents using JSON schema

License

Notifications You must be signed in to change notification settings

johandorland/gojsonvalidator

Repository files navigation

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.

About

A cli tool to validate json documents using JSON schema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages