zaach / jsonlint

A JSON parser and validator with a CLI.
http://zaach.github.com/jsonlint/
1.93k stars 417 forks source link

Validate against remote file #109

Open mainrs opened 6 years ago

mainrs commented 6 years ago

Since there are websites that host schemas for all kinds of json files (schemastore.org ), it might be a good idea to support URL validation, e.g.: jsonlint jsonfile.json -V http://json.schemastore.org/babelrc.

prantlf commented 5 years ago

While technically possible, providing the set of developer tools usually present on any machine, not necessary. If you use curl or wget, you can pipe the output to any tool, which does not support HTTP input:

curl -s http://json.schemastore.org/babelrc | jsonlint